码迷,mamicode.com
首页 > 编程语言 > 详细

python猜年龄小游戏

时间:2018-03-22 10:49:01      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:div   input   游戏   put   gpo   ==   log   python   post   

age_of_PRINCAL=56

guess_age=int(input(">"))

if guess_age==age_of_princal:

    print("Yes")

else:

    print("No")

python猜年龄小游戏

标签:div   input   游戏   put   gpo   ==   log   python   post   

原文地址:https://www.cnblogs.com/xcw19961005/p/8621376.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!