Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Explains new way of how to find squares.
- addfornext = 5
- thesquare = 4
- while true do
- print("Square: "..thesquare)
- print("Square Root: "..thesquare^(1/2))
- print("Add "..addfornext.." for next square.")
- sleep(2)
- thesquare = thesquare + addfornext
- addfornext = addfornext + 2
- end
Advertisement
Add Comment
Please, Sign In to add comment