Write a python program to find the product of two numbers. If the product is >10 print “MY SCHOOL” else print “HELLO”
Answers
Answered by
0
Language:
Python
Program:
a,b= int(input("Enter a number: "),int(input("Enter another number: ")
if a*b>10:
print("MY SCHOOL")
else"
print("HELLO")
Output:
Enter a number: 5
Enter another number: 10
MY SCHOOL
Explanation:
- a=input(): accepts input in a.
- * operator returns product of two number.
- if-else statements check for conditions.
Similar questions