摘要: >>> a = input('请输入第一个数: ') 请输入第一个数: 4 >>> print(a) 4 >>> type(a) <class 'str'> >>> type(4) <class 'int'> >>> int(a)+2 6 阅读全文
posted @ 2018-04-18 21:36 BiuBiu怪 阅读(106) 评论(0) 推荐(0) 编辑
摘要: name1 = input('请输入一个名字') name2 = input('请输入一个名字') print('{}说我有一个超能力,{}说是啥,{}说超喜欢你'.format(name1,name2,name1)) 阅读全文
posted @ 2018-04-18 21:05 BiuBiu怪 阅读(88) 评论(0) 推荐(0) 编辑