Click on the button below to go to the Python Tutorial for operators
Python Tutorial
Exercise
Create a program so that a user INPUTS two numbers and the OUTPUT states the division and remainder of dividing the first number by the second number. i.e. :
Please enter a number: 10
Please enter a second number: 4
The number 10 divided by 4 is 2 remainder 2
>>>
Extension Exercise
Create a program so that a user INPUTS a number and the OUTPUT states if it is odd or even. i.e. :
Please enter a number: 4
The number 4 is even
>>>
Recent Comments
Teacher Date: 2026-02-01
Guest