Skip to content
Python Question
Profile icon
GeoneveStudios

Python Question

I have a question. In Python how do you make a loading animation.

You are viewing a single comment. View All
Answered by 19wintersp [earned 5 cycles]
View Answer
Profile icon
RYANTADIPARTHI

Solution

Here is how.

import time import os for x in range(10): print('/') time.sleep(.5) os.system('clear') print('-') time.sleep(.5) os.system('clear') print('\\') time.sleep(.5) os.system('clear')

like that.
That should work

Profile icon
GeoneveStudios

@RYANTADIPARTHI Thats helpful

Profile icon
RYANTADIPARTHI

@DashStudios no problem.

Profile icon
GeoneveStudios

@RYANTADIPARTHI I'm waiting for 2 more answers to see which is the best

Profile icon
RYANTADIPARTHI