Can I make a python delay? -


this question has answer here:

how make have small delay in python?

i want display 3 seconds after afterwards , let user input something

here have

print "think of number between 1 , 100" print "then shall guess number" 

i want delay here

print "i guess", computerguess raw_input ("is lower or higher?") 

this should work.

import time print "think of number between 1 , 100" print "then shall guess number"  time.sleep(3)  print "i guess", computerguess raw_input ("is lower or higher?") 

Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -