+ 2
How do you input data in python playground when your code has multiple places for input?
4 odpowiedzi
+ 3
here is a small tutorial about this issue:
https://code.sololearn.com/c8pQgA9MTOj5/?ref=app
+ 2
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 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
0
Please include Python in Relevant Tags 👍