Global searching is not enabled.
Skip to main content

Lesson 1 Interactive Example - Sample Python code

This example is a simple program in Python. It checks if a number is divisible by 7 and reports the result. Run the program to see how it works.

Note: This program is very basic and does not check for errors. If you see an error, just run the program again.