From 7443a2fbc4e295cdabfa08388e6e7373a61a3fda Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 20 Sep 2024 12:29:28 -0700 Subject: [PATCH] Update blackjack.py --- modules/blackjack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blackjack.py b/modules/blackjack.py index 3e2f599..680793d 100644 --- a/modules/blackjack.py +++ b/modules/blackjack.py @@ -131,7 +131,7 @@ def success_rate(card, obj_h): rate = (VALUES[card[0][1]] / diff) * 100 if rate < 100: - msg += f"If Hit, chance {100-int(rate)}% success, {int(rate)}% failure." + msg += f"If Hit, chance {int(rate)}% success, {100-int(rate)}% failure." elif rate > 100: l_rate = int(rate - (rate - 99)) # Round to 99 if card[0][1] == "A":