Variables Flashcards
1
Q
print(type(a))
A
returning type
2
Q
print value of a variable
A
print(a)
3
Q
print result of aritmetic operation
A
print(x+y)
4
Q
print result of aritmetic operation with name of the operation
A
print(“sum”+str(x+y))
5
Q
aritmetic assignment (Add a number tu the variable itself, upgrade it)
A
variable += 14
6
Q
relational operators of equality
A
==
7
Q
relational operator of inequality
A
!=
8
Q
compound operator AND
A
&&
9
Q
compound operator OR
A
|
10
Q
compound operator NEGATION
A
!