Modules
Learn how Python modules allow you to reuse functionality.
Learn by experimenting
Study the Python code, run it, change values and observe the output. Practical experimentation is an important part of learning programming.
Python Code
Python runs directly in your browser.
import math
print('Square root:', math.sqrt(25))
print('Power:', math.pow(2, 3))
Python Output
Program output appears here.
Test your understanding
Choose the best answer.
Which Python structure stores key-value pairs?