+ 1

input in python

Why I can't use tow Elements (input) in SoloLearn applications. لماذا لا استطع استخدام امرين إدخال(input) في تطبيق SoloLearn For more explain, Please see code below: للمزيد من التوضيح، رجاءً شاهد الرمز في الاسفل: c= input ("one: ") x= input ("tow: ") print (c) print (x) https://code.sololearn.com/c341rsOk0S2m/?ref=app

21st Oct 2021, 9:49 AM
Sarmad Saad
Sarmad Saad - avatar
15 odpowiedzi
+ 7
You have to do that with two lines at the start. Input1 [tap enter] Input2 [submit]
21st Oct 2021, 10:08 AM
Coding Cat
Coding Cat - avatar
+ 7
Sarmad Saad In Sololearn, all inputs must be entered before SUBMIT If you have multiple inputs, then each input must be enteted on a new line, which is why I have written the input instructions. Just tested my code to ensure it is operational.
21st Oct 2021, 11:13 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 4
Sarmad Saad txt = input() words = input() print (txt,words) #Example input # RUN # Type -> test # ENTER # Type -> this # SUBMIT [Edited to reflect correct info] thanks Coding Cat
21st Oct 2021, 10:46 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 3
Your code is ok. Start the prog. and make the input as I descriped above.
21st Oct 2021, 10:39 AM
Coding Cat
Coding Cat - avatar
+ 3
Coding Cat 🐈 Thanks very much, Firstly I don't understand you mean the [Enter bottom], Thanks, You fixed my problem.
21st Oct 2021, 11:17 AM
Sarmad Saad
Sarmad Saad - avatar
+ 3
Rik Wittkopp Thanks bro, I'm happy because you and Coding Cat fixed my problem and helped me, Thanks.
21st Oct 2021, 11:20 AM
Sarmad Saad
Sarmad Saad - avatar
+ 2
Rik Wittkopp after last input SUBMIT 😉
21st Oct 2021, 11:03 AM
Coding Cat
Coding Cat - avatar
+ 2
Coding Cat I am on fire tonight! Thanks again 🤣😂🤣😂
21st Oct 2021, 11:04 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Coding Cat Can you write example (code) for me??, Thanks. ***a simple example
21st Oct 2021, 10:31 AM
Sarmad Saad
Sarmad Saad - avatar
+ 1
Jonathan Samuel You can start by not posting your question into the question thread of another person
22nd Oct 2021, 9:36 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
Sarmad Saad عندما يظهر لك مربع الادخال يجب عليك ادخال المتغير الاول و اضغط على مفتاح enter او (المفتاح على شكل سهم) لعمل سطر جديد و ادخل فيه المتغير الثاني (يعني ان امري الادخال يخرجان في مربع واحد و عليك ادخال كل قيمة في سطر خاص بها)
22nd Oct 2021, 2:04 PM
Mousa Aboubaker
Mousa Aboubaker - avatar
0
Use this c= input("one : ") print (c) x= input ("two: ") print (x)
22nd Oct 2021, 3:50 PM
dear bear
dear bear - avatar
0
MASTER MOUSA شكرا جزيلا لك، ولتوضيح الفكرة، بارك الله فيك.
23rd Oct 2021, 12:52 PM
Sarmad Saad
Sarmad Saad - avatar
0
Sarmad Saad عفوا، و فيك بارك الله
23rd Oct 2021, 1:19 PM
Mousa Aboubaker
Mousa Aboubaker - avatar
- 1
What can I do? Am in the input session in python but I can't go forward because am out of bits
22nd Oct 2021, 1:33 PM
Jonathan Samuel
Jonathan Samuel - avatar