152k views
3 votes
Edhesive coding practice 3.4​

User Thinkeye
by
5.7k points

2 Answers

3 votes

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.")

User Dparnas
by
5.5k points
2 votes

I'm sorry i have to go to sleep.. Can we continue tm?

In the morning

User Rajib Chy
by
5.6k points