0

How can we change line in python while typing

12th Jul 2018, 7:06 PM
Yash Mahajan
Yash Mahajan - avatar
2 Answers
+ 3
are you using python IDEL? Or a python ide?
12th Jul 2018, 9:50 PM
LONGTIEšŸ‘”
LONGTIEšŸ‘” - avatar
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 ---------------------------
13th Jul 2018, 12:19 AM
ā–²TopGun ā–²
ā–²TopGun ā–² - avatar