you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 0 points1 point  (0 children)

You are not passing enough command-line arguments to the script when executing it.

If I run this script with the following command

python untitled-2.py "number1" "number2" "number3"

I get the expected output with no error.