中文Python:中文编程不是梦
if guess == number: print 'Congratulations, you guessed it.'running = False # this causes the while loop to stop
elif guess < number:
print 'No, it is higher than that.'
else:
print 'No, it is lower than that.'
else:
print 'The while loop is over'
print 'Done'
页:
[1]