if guess == 8: print( "哇草,你是小甲鱼心里的蛔虫吗?") print( "哼,猜中了也没有奖励" )else: if guess > 8: print( "哥,大了大了~~~") else: print( "嘿,小了!小了!!")print ( "游戏结束,不玩啦~~~~ ")
python3.7-初学篇-09
原文:https://www.cnblogs.com/liangbannerhulk/p/10105315.html