How to enter input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to enter input

Code playground

1st Jun 2020, 9:15 AM
Sai Shreyansh
Sai Shreyansh - avatar
4 Answers
+ 10
Mention your language
1st Jun 2020, 12:02 PM
Coder
Coder - avatar
+ 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
3rd Jun 2020, 5:30 AM
Coder
Coder - avatar
+ 2
How to enter input in python
3rd Jun 2020, 1:47 AM
Sai Shreyansh
Sai Shreyansh - avatar
+ 1
Run this code to understand how input works in SoloLearn https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
1st Jun 2020, 9:25 AM
Ipang