+ 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
15 Answers
+ 7
You have to do that with two lines at the start.
Input1 [tap enter]
Input2 [submit]
+ 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.
+ 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
+ 3
Your code is ok.
Start the prog. and make the input as I descriped above.
+ 3
Coding Cat 🐈
Thanks very much, Firstly I don't understand you mean the [Enter bottom], Thanks, You fixed my problem.
+ 3
Rik Wittkopp
Thanks bro, I'm happy because you and Coding Cat fixed my problem and helped me, Thanks.
+ 2
Rik Wittkopp after last input SUBMIT 😉
+ 2
Coding Cat
I am on fire tonight!
Thanks again
🤣😂🤣😂
+ 1
Coding Cat
Can you write example (code) for me??, Thanks.
***a simple example
+ 1
Jonathan Samuel
You can start by not posting your question into the question thread of another person
0
Sarmad Saad
عندما يظهر لك مربع الادخال
يجب عليك ادخال المتغير الاول و اضغط على مفتاح enter او (المفتاح على شكل سهم) لعمل سطر جديد و ادخل فيه المتغير الثاني
(يعني ان امري الادخال يخرجان في مربع واحد و عليك ادخال كل قيمة في سطر خاص بها)
0
Use this
c= input("one : ")
print (c)
x= input ("two: ")
print (x)
0
MASTER MOUSA
شكرا جزيلا لك، ولتوضيح الفكرة، بارك الله فيك.
0
Sarmad Saad
عفوا، و فيك بارك الله
- 1
What can I do? Am in the input session in python but I can't go forward because am out of bits