diff --git a/2020/20200311 - poker - python/dojo.log b/2020/20200311 - poker - python/dojo.log index 9996d37d..e09b6119 100644 --- a/2020/20200311 - poker - python/dojo.log +++ b/2020/20200311 - poker - python/dojo.log @@ -9,3 +9,4 @@ Qua Mar 11 19:58:50 BRT 2020 - Otavio Cardoso e Vinicius Garcia Qua Mar 11 20:04:14 BRT 2020 - Vinicius Garcia e Otavio Cardoso Qua Mar 11 20:09:30 BRT 2020 - Otavio Cardoso e Vinicius Garcia Qua Mar 11 20:15:22 BRT 2020 - Vinicius Garcia e Otavio Cardoso +Qua Mar 11 20:21:01 BRT 2020 - Otavio Cardoso e Vinicius Garcia diff --git a/2020/20200311 - poker - python/problem.py b/2020/20200311 - poker - python/problem.py index 3d5050ed..2efaf053 100755 --- a/2020/20200311 - poker - python/problem.py +++ b/2020/20200311 - poker - python/problem.py @@ -22,6 +22,7 @@ def sort_hand(hand): card[0] = int(value) splited.sort() + values = {v:k for k, v in values.items()} for card in splited: value = card[0]