age_of_oldboy=56 #变量赋值
for i in range(3): #range循环语句
guess_age=int(input('guess age:'))
if guess_age==age_of_oldboy: #首字缩进4空格,不然会报错;
print('yes,you got it.') # 首字比上面相近的if缩进至少1个空格以上;
break #首字必须与上面print对齐;
elif guess_age>age_of_oldboy: #首字缩进4空格,不然会报错;
print('think smaller...')
else: print('think bigger!') #首字缩进4空格,不然会报错;
else: print('you have tried too many times..fuck off') : #首字缩进不用缩进,{for i in rang(): # else:}组成循环语句。