7. Python Tools¶
Conditions:
if
,elif
,else
Loop:
while
Assignment operator:
=
Equality operator:
==
Inequality operator:
!=
Display a message:
print()
Read user input:
input()
Convert to integer:
int()
Generate a random integer:
randint()
These are some of the tools. There are many more!
7.1. Now all that’s left are your exercises¶

“Life is like riding a bicycle. To keep your balance, you must keep moving.” - Einstein
-
On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
- 1
- 2
- 3
You have attempted of activities on this page