Answer:3.3 code prative question 1
Step-by-step explanation:
Question 1
D = int(input("Enter todays's day numerically: ")
If(d==30 or d==15):
Print("It's payday!")
If(d!=15 and d!=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<0 or r>255):
Print("Red number is not correct.")
If(g<0 or g>255):
Print("Green number is not correct.")
If(b<0 or b>255):
Print("Blue number is not correct.")