x=int(raw_input()) #Terminal will stall to allow user to input the first number
y=int(raw_input()) #This will wait for the second number to be inputted
在Python3中:
x=int(input()) #Terminal will stall to allow user to input the first number
y=int(input()) #This will wait for the second number to be inputted
在python2.7+中:
在Python3中:
相关问题 更多 >
编程相关推荐