I found an issue in this program

March 16, 2022
3:41 a.m.
info = input("Enter your input:") if info == "hi" or "hello": print("hello") elif info == "namaste": print("namaste") else: print("Error") In this program I am trying get a input from user and seeing that if it is equal to h i, hello or namaste. But when I am executeing it , it is printing hello when I write namaste. I can’t find any thing wrong in this program neither pycharm is telling me that there is a bug or something. Can you please help me with this program. Looking foreword to your response, Prakhar Varma Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
1075
Age (days ago)
1075
Last active (days ago)
0 comments
1 participants
participants (1)
-
Prakhar Varma