Write a python programm to check two given integers and print true if one of them is 30 or if thier sum is 30 else pri fal
#Write a python programm to check two given integers and print
#true if one of them is 30 or if thier sum is 30 else pri fal
a=int(input("Enter first number:"))
b=int(input("Enter second number:"))
if a==30 or b==30 or a+b==30:
print("True")
else:
print("False")
Comments
Post a Comment