Spinning rod animation/Text: Difference between revisions

Content deleted Content added
added Julia
Line 135: Line 135:
=={{header|Julia}}==
=={{header|Julia}}==
{{trans|Python}}
{{trans|Python}}
<lang julia>
<lang julia>while true
while true
for rod in "\|/-" # this needs to be a string, a char literal cannot be iterated over
for rod in "\|/-" # this needs to be a string, a char literal cannot be iterated over
print(rod,'\r')
print(rod,'\r')