what does it mean when the app says that my code needs an input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what does it mean when the app says that my code needs an input?

I was coding to find the sum of two numbers in python I'm very new to coding and even tho i wrote like 20 and 10 in seperate lines the code is still not running like i want it to

29th Mar 2023, 4:44 AM
Yashi
Yashi - avatar
3 Answers
+ 4
It means you have to take user inputs to perform operations.
29th Mar 2023, 5:10 AM
A͢J
A͢J - avatar
+ 3
Run this code to understand how inputs are handled in the Code Playground https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
29th Mar 2023, 9:54 AM
Ipang
+ 2
Yashi it means you should enter two number like this:- 10 20 And then run the program you will get the sum of two numbers
29th Mar 2023, 5:27 AM
Sakshi
Sakshi - avatar