Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click this link to open Dodona in a new window.
Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
- 8. Functies
- Inleiding
- Het nut van functies
- Het creëren van functies
- Scope en levensduur
- Grip krijgen op complexiteit
- Modules
- Anonieme functies
- Wat je geleerd hebt
- Tafels van vermenigvuldiging
- Gemeenschappelijke karakters
- Grerory-Leibnitz reeks
- Kwadratische vergelijkingen
- Loop-en-een-half
- Binomiaalcoëfficiënt
- Wat is er fout?
Sign in to test your solution.
def multiplication_table(number):
"""
>>> multiplication_table(12)
1 * 12 = 12
2 * 12 = 24
3 * 12 = 36
4 * 12 = 48
5 * 12 = 60
6 * 12 = 72
7 * 12 = 84
8 * 12 = 96
9 * 12 = 108
10 * 12 = 120
"""
if __name__ == '__main__':
import doctest
doctest.testmod()