0
How can we change line in python while typing
2 odpowiedzi
+ 3
are you using python IDEL? Or a python ide?
0
Do you want insert multiple inputs ?
Try separate your input by .split (' ')
ex.:
x = int (input('Type a value for x: '))
y = int (input('Type a value for y: '))
print (x+y)
input:
3
5
output: 8
----------------------
x, y = int (input('Type a value for x and y separated by comma: ')).split (',')
input: 3,5
output: 8
---------------------------