狂欢‰一夜 发表于 2017-4-26 11:28:56

python input&raw_input

__author__ = 'YJatt'
# if both n1 and n2's inputs are 1+2,no quotation marks attached
n1 = input("this is a expression : ")
n2 = raw_input("this is always a string : ")
print n1
#print 3
print n2
#print 1+2
  languages ain't interesting,it's just a tool.and ESSENTIAL
  good day,finally all the configuration problems are solved,all I have to do is programming in the next days.
  saw some really well-paid jobs all over the world in python forum.gotta be good.
页: [1]
查看完整版本: python input&raw_input