Looping with while problems


This is my code

i = 1
while i >= 50 do
    print i
    i += 1

I need to get it to 50 inclusive, but I don't know how


Can anyone help?


You have a greater than sign instead of a less than sign,

as you are checking if i is less then 50


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.