0
How to run input() function on python
I wrote a code but when i use input() function am unable to enter he input when i run the code plz help
3 Answers
+ 2
Can you show the code?
0
And please add Python in your post tags, rather than a meaningless letter 'g'
https://code.sololearn.com/W3uiji9X28C1/?ref=app
0
It should look like this:
Variable = DataType(input("Optional Input Message"))
In case you're unfamiliar with data types...
Int = Whole Numbers
Str = Text
Float = Decimal Numbers
Bool = True/False
That's just about the ones that matter.