Copyleft Games

Intro to Python documentation (tea)

Documentation is vitally important for every software project. In this beginner task you'll demonstrate that you've learned to document a small Python function to brew tea:

def brew(temp, seconds):
    heat_water(temp)
    print("Add tea")
    sleep(seconds)
    print("Done")

Add a concise description for this function and its two float arguments. If you're unfamiliar with Python you may need to research how to do this or ask for guidance in our webchat.

Submit the above function with your added annotations and documentation when you're done.

Task tags

  • pydoc

Students who completed this task

codingWith_Rahul

Task type

  • chrome_reader_mode Documentation / Training

Level

Beginner
close

2019