Guest User

Untitled

a guest
May 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. from time import sleep
  2.  
  3. for i in range(50):
  4.  
  5. sleep(0.1)
  6. print("hi"+str(i) , end="r")
  7.  
  8. from time import sleep
  9.  
  10. for i in range(50):
  11.  
  12. sleep(0.1)
  13. print("hi"+str(i) , end="r")
  14. print("hi2"+str(i) , end="r")
  15.  
  16. print("hi"+str(i) , end="")
  17. print("hi2"+str(i) , end="r")
  18.  
  19. hi<increment from 0 to 50 without new line jump inside the loop>
  20. hi2<increment from 0 to 50 without new line jump inside the loop>
  21.  
  22. for i in range(50):
  23. sleep(0.1)
  24. print("hi"+str(i))
  25. print('hi2'+str(i), end='r')
  26.  
  27. if i<49:
  28. print('33[2F')#33[2F,escape character to move cursor to the two lines up
Add Comment
Please, Sign In to add comment