Need help with Python
Go to solution
Solved by ZEN,
To make it look more realistic, you could also randomize the sleep-time in between characters:
import timefrom random import randomtext = list("I have been waiting for you")std_slp = 0.2for char in text: print(char, end="") var = random() time.sleep(std_slp*var)This is in Python 3.3 as I don't know 2.7 so you would have to translate that.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now