+ 1
How to enter input
Code playground
4 ответов
+ 10
Mention your language
+ 3
Sai Shreyansh your answer is hiding in your question
You have to use input () for get input in Python
Here is a small example:
X = input()
print(X)
Hope this helps
you can change the data type by the use of int(),float(),str()
int() for interger
float() for decimal values
str() for string
inside the () bracket you have to put the value which you what to change so simple out input () inside them
+ 2
How to enter input in python
+ 1
Run this code to understand how input works in SoloLearn
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app