Answer to Question #269828 in Python for Mayang

Question #269828

Write a program that determine the magic word (if the input number is 143,it displays I LOVE YOU else I HATE YOU).

1
Expert's answer
2021-11-22T09:53:10-0500
s = input('Enter word: ')
if s == '143':
   print('I LOVE YOU')
else:
   print('I HATE YOU')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS