(Beginner) Got these errors that pop up after running a program I copied

Copied a program out of an online guide for a rock paper scissors game and it doesn’t return to the beginning of the code and gives out these errors. What am I doing wrong?:

Traceback (most recent call last):
File “/usr/lib/python3.9/runpy.py”, line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.9/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/app/lib/python3.9/site-packages/thonny-3.3.14-py3.9.egg/thonny/plugins/cpython/main.py”, line 43, in
File “/app/lib/python3.9/site-packages/thonny-3.3.14-py3.9.egg/thonny/backend.py”, line 72, in mainloop
File “/app/lib/python3.9/site-packages/thonny-3.3.14-py3.9.egg/thonny/plugins/cpython/cpython_backend.py”, line 254, in _handle_normal_command
File “/app/lib/python3.9/site-packages/thonny-3.3.14-py3.9.egg/thonny/plugins/cpython/cpython_backend.py”, line 914, in send_message
msg[“cwd”] = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

This looks like an internal problem with Thonny. I suggest you ask on the Thonny forum: https://groups.google.com/g/thonny

Ok, Thank you.