int() takes the "whole" part of a decimal number.
float() takes a number with an accuracy of 12/15 decimal points.
For division,
int(a) / int(b) = int(a/b)
float(a) / float(b) = float(a/b)
Priority:
Simply by order of appearance.
a += 1
same as a = a + 1
def Function_name(Variable_1,Variable_2):
Result = Variable_1 * Variable_2
return Result
31 // 10
returns 3,
31 % 10
returns 1,
1 % 10
returns 1.
A set of functions, previously developed by others.
Calling module by typing
import Module_Name
If a == 10 :
print "True"
elif a == 5 :
print "False"
else:
print "Nah"
"==" means Comparison