摘要:
1 # -*-coding:utf-8 -*- 2 print ("how old are you?"),# python 3.0版本开始已经去掉了raw_input函数,直接用input函数就可以了 3 age = input("old?") 4 print ("how tall are you?"), 5 height = int(float(input())) #假如输... 阅读全文
posted @ 2016-11-16 20:09
听风呤
阅读(146)
评论(0)
推荐(0)
摘要:
1 # -*-coding:utf-8 -*- 2 print ("how old are you?"), 3 age = input() # python 3.0版本开始已经去掉了raw_input函数,直接用input函数就可以了 4 print ("how tall are you?"), 5 height = int(float(input())) #假如输入的是小数点... 阅读全文
posted @ 2016-11-16 20:08
听风呤
阅读(166)
评论(0)
推荐(0)
摘要:
1 ''' 2 tabby_cat = "\tI'm tabbed in." 3 persian_cat = "I'm split\non a line." 4 backslash_cat = "I'm \\ a \\ cat." 5 6 fat_cat = """ 7 I'll do a list: 8 \t* catfood 9 \t* Fishies 10 \... 阅读全文
posted @ 2016-11-16 20:07
听风呤
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号