subject

Can someone fix this so that it only says "its a payday" on 15 and 30 and on all other days "sorry, it's not payday"

tod=int(input("Enter today's day numerically:"))
if (tod != 30 or tod != 15):
print("Sorry, not a payday.")
if (tod == 30 or tod == 15):
print ("It's payday!")

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
The width of a piece of rectangular land is 5m shorter rhan 1/3 of its length .find the width of the land if the length is 60m,150m.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
You know the right answer?
Can someone fix this so that it only says "its a payday" on 15 and 30 and on all other days "sorry,...
Questions
question
Mathematics, 20.01.2021 01:00
question
English, 20.01.2021 01:00
question
Mathematics, 20.01.2021 01:00
Questions on the website: 13722362