07 2017 档案
摘要:For I in range(10) Print(“loop”,i) For 循环 列子1 Age_of_oldboy =56 For I in range(3): Guess_age = int(input(“guess_age:”)) If guess_age ==age_of_oldboy :
阅读全文
摘要:While循环 最简单的例子 Count = 0 While true: Print(“count:”,count) Count = count + 1 #count +=1 列子1 Age_of_oldboy =56 Count = 0 计数 While true: If count ==3 执行
阅读全文
摘要:Age of oldboy =56 Guess_age =int(input(“guess age:”)) If guess_age ==age_of_oldboy : Print(“yes,you,got it,”) Elif guess_age > age_of_oldboy: Print(“t
阅读全文
摘要:变量 name = wwjun Name2 = “wwjun” print (“name,Name2”) 用户交互 Username = input (“username:”) Password = input (“password:”) Print(username,password) 用户名格式
阅读全文

浙公网安备 33010602011771号