Jump to content

Spinning rod animation/Text: Difference between revisions

Add Python
(Add Bash)
(Add Python)
Line 143:
 
END { print "\b \e[?25h\n" } # clean up on exit</lang>
 
=={{header|Python}}==
<lang python>from time import sleep
while True:
for rod in r'\|/-':
print(rod, end='\r')
sleep(0.25)</lang>
 
=={{header|zkl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.