Jan-10-2023, 05:51 PM
(This post was last modified: Jan-10-2023, 06:12 PM by Yoriz.
Edit Reason: Added error tags
)
It still didn't solve the problem There is another problem: the argument of type 'NoneType' is not iterable. Here is full error first:
Error: File "d:\programy python\speakingchatbot.py", line 110, in <module>
run_ava()
File "d:\programy python\speakingchatbot.py", line 45, in run_ava
command = take_command()
File "d:\programy python\speakingchatbot.py", line 42, in take_command
NameError: name 'command' is not defined
And the Second one:Error:Traceback (most recent call last):
File "d:\programy python\speakingchatbot.py", line 109, in <module>
run_ava()
File "d:\programy python\speakingchatbot.py", line 45, in run_ava
if 'play' in command:
TypeError: argument of type 'NoneType' is not iterable