edhesive 3.3 question answer please
Answers
Answered by
2
Answer:
question 1
x = int(input("Enter today's day numerically:"))
if (x == 15 or x == 30):
print("It's payday!")
if (x != 15 and x != 30):
print("Sorry, not a payday.")
Question 2
r = int(input("Enter the red: "))
g = int(input("Enter the green: "))
b = int(input("Enter the blue: "))
if (r > 255 or r < 0):
print("Red number is not correct.")
if (g > 255 or g < 0):
print("Green number is not correct.")
if (b > 255 or b < 0):
print("Blue number is not correct.")
Explanation:
Answered by
0
Answer:
x = int(input("Enter today's day numerically:"))
if ( x == 15 or x == 30):
print("It's payday!")
if (x != 15 and x != 30):
print("Sorry, not a payday.")
Explanation:
Similar questions