I am making a bot like a AI in python
In this code I want any condition to run when I entered a input
.
Whenever a am typing anything I am expecting to else:
to be true but everytime the 3rd elif
is being true like it's an else
I had tried changing position of the elif
statment so some other statement is executing
Actually my code is very big it's just a part from it
No error msg for indentation error:
The code starts from here:
if "time now" in command:
print(prefix , time)
elif "date today" in command:
print(prefix , date)
elif "quit" or "exit" in command:
print(prefix , "Good bye user !!! ")
print("0====[]::::::::::>")
exit()
else:
print(prefix, "I am unable to understand you ): ")
print( "Type the command correctly ! !")
print()
return AQassistant()