Ask Question

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

+4
Answers (1)
  1. 15 April, 05:13
    0
    this is really confusing, what do you want me to do with it
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers