【魄爺】 发表于 2018-8-9 08:45:15

中文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]
查看完整版本: 中文Python:中文编程不是梦