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 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
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
Physics, 10.05.2021 17:40
question
English, 10.05.2021 17:40
Questions on the website: 13722362