From 536cb9786c4f8c730f391a71b9bbd67e2f9f2d99 Mon Sep 17 00:00:00 2001 From: Daniel <59575049+lemoentjiez@users.noreply.github.com> Date: Thu, 3 Nov 2022 12:34:27 +0200 Subject: [PATCH] Delete bonus_psa.py --- bonus_psa.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 bonus_psa.py diff --git a/bonus_psa.py b/bonus_psa.py deleted file mode 100644 index dabcfb8..0000000 --- a/bonus_psa.py +++ /dev/null @@ -1,8 +0,0 @@ -import random -from PIL import Image - -img = Image.open("bonus.png").convert('RGB') -w, h, c = img.width, img.height, 0 -for _ in range(100000): - c = c + 1 if img.getpixel((random.randint(0, w - 1), random.randint(0, h - 1))) == (255, 0, 0) else c -print(c/100000 * 42)