Variables Flashcards

1
Q

print(type(a))

A

returning type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

print value of a variable

A

print(a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

print result of aritmetic operation

A

print(x+y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

print result of aritmetic operation with name of the operation

A

print(“sum”+str(x+y))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

aritmetic assignment (Add a number tu the variable itself, upgrade it)

A

variable += 14

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

relational operators of equality

A

==

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

relational operator of inequality

A

!=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

compound operator AND

A

&&

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

compound operator OR

A

|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

compound operator NEGATION

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly