Please see the attached photo. This is my first Python program. It runs fine and the code appears to be the same as the instructors. Yet VSCode is telling me I have an error and this error is not making sense to me. Can anyone please help me to understand what is going on here? Thanks.
Error is as follows and I have attached the screenshot to this post:
Exception has occurred: TypeError
check_win() missing 2 required positional arguments: 'player' and 'computer'
File "/Users/matthew/anaconda3/envs/pure_python/rock_paper_scissors.py", line 21, in <module>
results = check_win()
^^^^^^^^^^^
TypeError: check_win() missing 2 required positional arguments: 'player' and 'computer'
Error is as follows and I have attached the screenshot to this post:
Exception has occurred: TypeError
check_win() missing 2 required positional arguments: 'player' and 'computer'
File "/Users/matthew/anaconda3/envs/pure_python/rock_paper_scissors.py", line 21, in <module>
results = check_win()
^^^^^^^^^^^
TypeError: check_win() missing 2 required positional arguments: 'player' and 'computer'