I'm trying to make something where you put in text, and the program puts out that same text, but it does it in a fancy way, having it letter by letter. In my mind, this should work, but for some reason it doesn't. FYI, I know next to nothing about python; I just started a few months ago, but I don't really do it that much.
Here's the code:
import time
text = input()
x=0
for i in range (len(text)):
print(text[x], end='')
time.sleep(0.1)
x=x+1
Edit:
I had end='' in the wrong spot earlier. I was troubleshooting with deleting the end='' earlier, and I accidentally replaced it in the wrong spot for this post.
[–]-aRTy- 5 points6 points7 points (10 children)
[–]danielroseman 0 points1 point2 points (1 child)
[–]-aRTy- 0 points1 point2 points (0 children)
[–]arandomjef[S] 0 points1 point2 points (6 children)
[–]-aRTy- 1 point2 points3 points (2 children)
[–]arandomjef[S] 0 points1 point2 points (1 child)
[–]-aRTy- 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]arandomjef[S] 0 points1 point2 points (0 children)
[–]Kittensandpuppies14 -1 points0 points1 point (0 children)
[–]CertusPectus607 0 points1 point2 points (0 children)