changes Snape -> Snoope and add ability to extend exercise.
This commit is contained in:
parent
e082761458
commit
d33816eedc
4 changed files with 33 additions and 22 deletions
|
@ -7,7 +7,7 @@ def make_example_potion(student_name="ASPP student"):
|
|||
"""Make and return an example potion."""
|
||||
my_potion = potion_class.Potion(student_name=student_name)
|
||||
# Set up your old kettle and light an eternal flame underneath it.
|
||||
my_potion.setup(container=containers.OLD_KETTLE)
|
||||
my_potion.setup(container=containers.OLD_KETTLE, heat_source="eternal_flame")
|
||||
# Simmer for 5 hours.
|
||||
cooking.simmer(my_potion, duration=5)
|
||||
print(f"You successfully ran make_example_potion, {student_name}, well done :).")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue