Week 2: Sept 4 - 10¶
Quiz 1¶
Tuesday, September 5
What is covered:
Mathematical operations on integers and floats.
Strings and string formating.
The
print()
function.Conversion functions:
int()
,round()
,float()
,str()
.Variable assignment.
Importing modules.
The
if
statement.
Python¶
range()
while
loopsFine-tuning loops:
break
andcontinue
Logical operators:
not
,and
,or
Mathematics¶
Primary decomposition of integers
Congruences