How to enter input | Sololearn: Learn to code for FREE!


How to enter input

Code playground

6/1/2020 9:15:41 AM

Sai Shreyansh

8 Answers

New Answer


Mention your language


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


How to enter input in python


Run this code to understand how input works in SoloLearn


Sai Shreyansh In which language?