From d5665eddb8e934fc4a0dcfd86290a0f081e07a88 Mon Sep 17 00:00:00 2001 From: Yevheniia Kryzhanovska Date: Mon, 10 Apr 2023 19:42:45 +0200 Subject: [PATCH] =?UTF-8?q?Usu=C5=84=20'Flower.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Flower.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Flower.py diff --git a/Flower.py b/Flower.py deleted file mode 100644 index 383f78ee..00000000 --- a/Flower.py +++ /dev/null @@ -1,15 +0,0 @@ -import random - -class PossibleFlower: - color = ['red', 'blue', 'yellow', 'white', 'pink'] - name = ['tulip', 'sunflower', 'rose', 'dandelion', 'daisy'] - -class Flower: - color = None - name = None - coordinates = [] - - def __init__(self, coordinates, color = PossibleFlower.color[random.randint(0, 4)], name = PossibleFlower.name[random.randint(0, 4)]): - self.color = color - self.name = name - self.coordinates = coordinates