cleaning #7
5
Image.py
5
Image.py
@ -23,4 +23,7 @@ class Image:
|
|||||||
x=random.randint(0,5)
|
x=random.randint(0,5)
|
||||||
keys=list(self.plants_image_dict.keys())
|
keys=list(self.plants_image_dict.keys())
|
||||||
plant=keys[x]
|
plant=keys[x]
|
||||||
return self.plants_image_dict[plant]
|
return self.plants_image_dict[plant]
|
||||||
|
|
||||||
|
def return_plant(self,plant_name):
|
||||||
|
return self.plants_image_dict[plant_name]
|
Loading…
Reference in New Issue
Block a user