Title
ProductCost = input("What is the cost of the product?")
print("Cost: " + ProductCost)
ProductExpiration = input("Is this product expired? yes/no")
print("Expired: " + ProductExpiration)
if (ProductExpiration == "yes"):
print("this product is no good");
else:
if (ProductCost > "50" and ProductExpiration == "no"):
print("this product is too expensive")
else:
if("50" >= ProductCost >= "20" and ProductExpiration == "no"):
print("this is a regular product")
else:
if ("20" > ProductCost >= "0" and ProductExpiration == "no"):
print("this is a cheap product")
grade1 = 90
grade2 = 65
grade3 = 60
grade4 = 75
grade5 = 95
print((grade1 + grade2 + grade3 + grade4 + grade5)/5)
print("1 > 2 or 5 < 12:", 1 > 2 or 5 < 12)
# Output TRUE using OR ^
# Output FALSE using NOT
print("24 > 8:", not 24 > 8)
# Output FALSE using AND
print("10 > 20:", 10 > 20 and false)
num1 = int(input())
num2 = int(input())
sum = num1 + num2
if sum == 200:
print("200")
else:
print(sum)
person = int(input())
if person < 8:
print("person makes 50k")
else:
if 10 > person >= 8:
print("person makes 90k")
else:
print("person makes 150k")