diff options
Diffstat (limited to 'challenge-191/sgreen/python')
| -rwxr-xr-x | challenge-191/sgreen/python/ch-1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-191/sgreen/python/ch-1.py b/challenge-191/sgreen/python/ch-1.py index 38e9b0b853..f121df2fba 100755 --- a/challenge-191/sgreen/python/ch-1.py +++ b/challenge-191/sgreen/python/ch-1.py @@ -8,7 +8,7 @@ def main(s): nums = [int(x) for x in s] nums.sort() - print(1 if nums[-1] > 2 * nums[-2] else -1) + print(1 if nums[-1] >= 2 * nums[-2] else -1) if __name__ == '__main__': |
