Respuesta :
Answer:
Question1:
day = int(input("Enter in Numeric Today's day:"))
if (x == 15 or x == 30):
print("You have a payday today!")
if (x != 15 and x != 30):
print("Its is not certainly a payday today but dont feel bad.")
Question 2:
red = int(input("Enter the value for red: "))
green = int(input("Enter the value for green: "))
blue = int(input("Enter the value for blue: "))
if (red > 255 or red < 0):
print("The value of Red is not correct.")
if (green > 255 or green < 0):
print("The value of Green is not correct.")
if (blue > 255 or blue < 0):
print("The value of Blue is not correct.")
Explanation:
Please check the answer section.
Answer:
Question 1)
x = int(input("Enter in Numeric Today's day:"))
if (x == 15 or x == 30):
print("It's payday!")
if (x != 15 and x != 30):
print("Sorry, not a payday.")
Question 2)
red = int(input("Enter the value for red: "))
green = int(input("Enter the value for green: "))
blue = int(input("Enter the value for blue: "))
if (red > 255 or red < 0):
print("Red number is not correct.")
if (green > 255 or green < 0):
print("Green number is not correct.")
if (blue > 255 or blue < 0):
print("Blue number is not correct.")
Explanation:
The answers above are correct but it'll only give you a 20% because its not what the program wanted, follow instructions to see what they want you to print