Write an input statement to enter marks of a student in English. (You can use any variable for marks). in python
Answers
Answered by
0
Answer:
marks = float(input('Please enter your marks in ENGLISH: '))
Explanation:
input() to take value from user
float because python usually takes input as strings (Eg:--"32.4") and we would be able to convert it into a float(Eg:--32.4)
finally use = to put that into the 'Container'(Variable) marks
Hope you like it...
Similar questions