Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. while(true)
  2. do
  3. count = 0
  4. for i = 0,42,1
  5. do
  6. for k = 0, count, 1
  7. do
  8. io.write("\n")
  9. end
  10. for j = 0,i,1
  11. do
  12. io.write(" ")
  13. end
  14. io.write("o\n")
  15. os.execute("clear")
  16. count = count + 1
  17. end
  18.  
  19.  
  20. for i = 42,0,-1
  21. do
  22. for k = count, 0, 1
  23. do
  24. io.write("\n")
  25. end
  26. io.write("\n\n\n\n\n\n\n")
  27. for j = 0,i,1
  28. do
  29. io.write(" ")
  30. end
  31. io.write("o\n")
  32. os.execute("clear")
  33. count = count - 1
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement