0
Virtual assistant example
I have two groups of data (a= hi, hello) (b= hi, how, can, i, help). I need to code a program if i wrote hi or hello will reply to me : hello how can I help. In python language
2 odpowiedzi
+ 2
You need to capture and analyze input, try something like
your_input = input()
if your_input in ["Hi", "Hello"]:
print(b)
0
Thank you very much ❤️ it works.