Learn to Code via Tutorials on Repl.it!

← Back to all posts
Loading Screen
kevinamalraj123

import.time
for x in range (0,5):
b = "Loading" + "." * x
print (b, end="\r")
time.sleep(1)

Note you can change the speed of its load.

x stands for the minimum and the maximum ticks. 0 and the highest number won't add on.

b is the animation.

This is a calculator!

Hope this helps!

Voters
kevinamalraj123