Ad

We can say hello, AND we can count!

Code
Diff
  • print("Hello from ") print(_VERSION)
    
    print("We can count to 3! Are you ready?")
    for i=1,3 do
     print(i..string.rep("!",i))
    end
    print("We're so good at counting!")
    
    kata = {}
    function kata.foo()
      return "expected"
    end
    return kata
    • print("Hello from ") print(_VERSION)
    • print("We can count to 3! Are you ready?")
    • for i=1,3 do
    • print(i..string.rep("!",i))
    • end
    • print("We're so good at counting!")
    • kata = {}
    • function kata.foo()
    • return "expected"
    • end
    • return kata