From e74a588d8f2af345fa978d1fcee0307300e2164c Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 31 Mar 2010 20:18:14 +0000 Subject: [PATCH] Updated euler app to use regular comparisons git-svn-id: file:///srv/svn/euler@10 e5f4c3ec-3c0c-11df-b522-21efaa4426b5 --- 054/054.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/054/054.py b/054/054.py index 6502176..b4b50b0 100644 --- a/054/054.py +++ b/054/054.py @@ -12,7 +12,7 @@ if __name__ == '__main__': cards = line.strip().split() one = poker.Hand(cards[:5]) two = poker.Hand(cards[-5:]) - result = poker.Hand.compare(one, two) + result = cmp(one, two) if result > 0: wins = wins + 1 outcome = 'Player One wins'