0

I want to do a bar that rotate in python, like that |/-|-| ..... but in the same line , to make a ilusion that it's rotating, I have been looking for fews solutions , I'm a begginer in python and I tried like that:

from time import sleep

barras = ["|","/","-","\\","|"]
for c in barras:
    sleep(1)
    print(c,end="".replace(c,c))`
enzo
  • 9,861
  • 3
  • 15
  • 38

0 Answers0