最新消息:最大的报复,便是取得巨大的成功

标签:循环

Python基础-循环及模块
Python

Python基础-循环及模块

Hunter 2017-12-02 123浏览

循环: 1.While循环 while 条件: 语句 eg:重试3次错误后退出 count = 0 _number=15 while count 3: guess_age = int(input(Guess age:)) if guess_age ==_number: print(Yes) break elif guess_age _number: print(Think Smaller) else: print(Think Bigger)...