+ 1

How i made in python question

Please help my

2nd Nov 2019, 6:55 AM
guy kalian
guy kalian - avatar
2 Antworten
+ 5
I guess you mean how to make an input in python. inp = input(‘enter something’) I would suggest you to go through the python tutorial. This is much better than asking just small pieces.
2nd Nov 2019, 7:19 AM
Lothar
Lothar - avatar
+ 5
Python has a input syntax which has been specified by Lothar : x = input('Ask the user what to input here') If you are more precise about what to get from the user, here is this: For a float number, x = float(input('Tell the user what to input')) For an integer, x = int(input('Tell the user what to input')) For a string, x = str(input('Tell the user what to input'))
2nd Nov 2019, 7:32 AM
anon