Changes

Jump to: navigation, search

SPR720 Python Lab I

No change in size, 16:24, 13 November 2008
Changed the variable 'input' to 'guess'
secret=random.randrange(1,100)
inputguess=int(raw_input("Enter a guess: "))
if inputguess<secret:
print "Too low!"
elif inputguess>secret:
print "Too high!"
else:

Navigation menu