write a program asking the user to input his name and marks in Computer if the marks are greater than 40 then display a message saying you have passed in computer otherwise display you have filled in computer
Answers
Answered by
0
Answer:
name=input("Enter your name: ")
computer=int(input("enter marks in computer:")
if computer>40:
print("you have passed in computer")
else:
print("you have failed in computer")
Similar questions