Lecture #2 Python Data Type and Variables data data type ...

Main functions 1. Mathematics Classical operations • a + b, a - b, a * b classic operations • a / b “real” division (returns a floating point number) • a // b Euclidean division quotient (returns an integer) • a % b remainder of the Euclidean division, called a modulo b • abs(x) absolute value • x ** n power xn • 4.56e12 for 4.56 1012 “math” module The use of other ... ................
................