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
You have attempted of activities on this page