标签:pre 猜数字 log input blog python utf8 pytho else
#!/usr/bin/env python #coding:utf8 #Author:Felix zheng age_of_felix = 32 guess_age = input("guess age:") if guess_age == age_of_felix: print("yes,you got it.") elif guess_age > age_of_felix: print("think smaller!") else: print("think bigger!")
标签:pre 猜数字 log input blog python utf8 pytho else
原文地址:http://www.cnblogs.com/ityunv/p/6029708.html