How can we change line in python while typing | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How can we change line in python while typing

12th Jul 2018, 7:06 PM
Yash Mahajan
Yash Mahajan - avatar
2 Antworten
+ 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