Can anybody tell me about "input" Instructions in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anybody tell me about "input" Instructions in Python?

Python

4th Jun 2023, 8:05 AM
Sujay Chatterjee
3 Answers
+ 6
We might need more information. What do you want to do? Do you have a code bit? Have you completed the Python course? It's in there. Simply, input is handled so: x = input() You declare a variable (here it's x) and call for input. If you have a codebit, please share it as per this code: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
4th Jun 2023, 8:09 AM
Ausgrindtube
Ausgrindtube - avatar
+ 4
And if the user runs the code, it will ask them to input something. Also, if you're planning on multiple inputs, this might be helpful: https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
4th Jun 2023, 8:19 AM
Ausgrindtube
Ausgrindtube - avatar
0
In between parentheses, who will fill it? User or coder? Cause when i run the code it asks me to input something...!
4th Jun 2023, 8:12 AM
Sujay Chatterjee