Feb-18-2018, 01:44 PM
Well I think I see what you are attempting.
That still can be done, but not like this.
What you need to do is equate each string to a number, and then compare the numbers.
one way can be done is:
That still can be done, but not like this.
What you need to do is equate each string to a number, and then compare the numbers.
one way can be done is:
>>> rock = 3 >>> sissors = 2 >>> paper = 1 >>> print(rock > sissors) True >>> print(sissors > paper) True >>> print(paper > rock) False >>>