python2.7與3.5中input的差異

在2.7中 input輸入的數值 raw_input輸入的事字符串 或者把輸入的內容用引號擴起來 deathage = 80 name = raw_input("your name:") age = input("your age:") print "hi,",name,"your age is ",age,"now." print "you can still live for ",deatha
相關文章
相關標籤/搜索