ubuntu2004
Kernel: Python 3 (system-wide)
Exercise 15.1
Create a dictionary called mushrooms
containing the data in the following table. Print it.
Scientific Name | Common Name |
---|---|
Fistulina hepatica | Beefsteak |
Laetiporus sulphureus | Chicken-of-the-Woods |
Flammulina velutipes | Enoki |
Hericium erinaceus | Lion’s Mane |
In [0]:
Exercise 15.2
Add the following to mushrooms
:
Pleurotus pulmonarius: Summer oyster
Pleurotus euosmos: Tarragon
In [0]:
Exercise 15.3
Print the common name for Laetiporus sulphureus.
In [0]:
Exercise 15.4
Replace the common name for Laetiporus sulphureus with Sulphur Shelf (this is another common name for this species which forms striking golden-yellow shelf-like fungal structures on tree trunks and branches.)
In [0]:
Exercise 15.5
Test if the species Pholiota nameko is in mushrooms
.
In [0]:
Exercise 15.6
Create an empty dictionary called books
.
In [0]:
Exercise 15.7
Add the following two books to your dictionary books
:
Book title | Authour |
---|---|
The chimpanzees of Gombe | Jane Goodall |
The blind watchmaker | Richard Dawkins |
In [0]: