How do you input data in python playground when your code has multiple places for input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do you input data in python playground when your code has multiple places for input?

23rd Oct 2019, 2:54 PM
Egrenbido Oyintare Paul
Egrenbido Oyintare Paul - avatar
4 Answers
+ 3
here is a small tutorial about this issue: https://code.sololearn.com/c8pQgA9MTOj5/?ref=app
23rd Oct 2019, 4:01 PM
Lothar
Lothar - avatar
+ 2
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
23rd Oct 2019, 3:01 PM
Brave Tea
Brave Tea - avatar
+ 1
just on multiple lines :) so a = input() b = input() print(a,b) #run code #screen opens # in screen 1 #on first line #press enter/return 2 # on second line #press submit #output: 1 2
23rd Oct 2019, 2:59 PM
Brave Tea
Brave Tea - avatar
0
Please include Python in Relevant Tags 👍
23rd Oct 2019, 4:19 PM
Ipang