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

21st Jul 2022, 1:46 AM
Iqra
3 Answers
+ 2
Can you show the code?
21st Jul 2022, 1:57 AM
Slick
Slick - avatar
0
And please add Python in your post tags, rather than a meaningless letter 'g' https://code.sololearn.com/W3uiji9X28C1/?ref=app
21st Jul 2022, 5:32 AM
Ipang
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.
21st Jul 2022, 1:20 PM
ً