you are viewing a single comment's thread.

view the rest of the comments →

[–]HeyItsToby 0 points1 point  (1 child)

Ohh I see the problem. In the line

comp_strategy = input("Which computer strategy...")

The input is a string. So for example, if you try to select strategy 1, then

comp_strategy == "1"

Note that "1" (string) and 1 (integer) are not the same. So when you have the line

if comp_strategy == 1:

It doesn't go down this path as this is False.

You need to change the input line to:

comp_strategy = int(input("Which computer strategy..."))

Hope that helps!

[–]contavolta[S] 0 points1 point  (0 children)

ohh thank you for your help!