1. 首页
  2. 区块链
  3. BlueMix
  4. python 小例子

python 小例子

上传者: 2020-09-28 04:34:42上传 PY文件 378B 热度 13次
while 使用example#!/usr/bin/python num = 10 run = True while run: guess = int(raw_input('Enter input : ')) if guess == num: print 'Congratulations, you guessed it.' run = False elif guess < num: print 'No, it is a little higher than that.' else: print
用户评论