+ 2

Why sololearn code asks input once?

I'm making a code which is requires two user input. But sololearn get only one.

1st Oct 2020, 8:21 AM
Sublime Text
Sublime Text - avatar
7 Respuestas
+ 10
Do it like this Input #1(press enter) Input #2
1st Oct 2020, 8:24 AM
Simba
Simba - avatar
+ 8
1st Oct 2020, 12:20 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 6
Separate multiple inputs with Newlines.
1st Oct 2020, 11:55 AM
Sonic
Sonic - avatar
+ 5
Sublime Text You can do it like input 1 and input 2. Sololearn supports 2 inputs only in programming languages I guess. Hope this helps ✌️
1st Oct 2020, 8:38 AM
Piyush
Piyush - avatar
+ 4
You can Separate inputs by writing them in seperate line 👍
1st Oct 2020, 8:23 AM
Twaatii
Twaatii - avatar
+ 4
When sololear Asks for input, it is actually asking for both inputs. You can specify both inputs in seperate lines
1st Oct 2020, 8:44 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
Piyush So how to python get input like this x = int(input("put number") But what does mean input 1, input 2 Could you give an example? Like get user input x, y.
1st Oct 2020, 8:43 AM
Sublime Text
Sublime Text - avatar