python 中循环语句的作业:猜字母小游戏

看了《笨办法学python》的习题30~33,写了一个无比简单的猜字母的小游戏,练习一下

#-*-coding:utf-8-*-
# 猜字母游戏

core=73

while True:
    number=raw_input("请输入你要猜数字的的值(1~100):")

    if int(number)>core:
        print "您输入的值太大,请重新输入!"
    elif int(number)


你可能感兴趣的:(python)