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

Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS