+ 1
How i made in python question
Please help my
2 Respuestas
+ 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.
+ 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'))