Usuń 'Flower.py'

This commit is contained in:
Yevheniia Kryzhanovska 2023-04-10 19:42:45 +02:00
parent 7c07010f3a
commit d5665eddb8
1 changed files with 0 additions and 15 deletions

View File

@ -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