Some examples. Applications
You can now practice previously learned operators. First, run the following
Python 3 program:
Analyze the results and then solve the exercises below.
EXERCISE 1
|
check_circle_outline
|
Create a new program that calculates and displays 9 to the 6th power (
96).
Ok.
EXERCISE 2
|
check_circle_outline
|
Write a program that displays one line at a time how much is the quotient and
the remainder of the division of
99 by
7, using
the right operators.
Very well.
EXERCISE 3
|
check_circle_outline
|
Display the expression result in the console:
7 * (12-6) - 2**3
Super!
Go to the last page ...
Run the program before continuing ...
Solve the exercises before you finish ...