Math operations, functions, and Flashcards

1
Q

%

A

Modulo/remainder

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

Variable+=n

A

Operator Changes the value of a variable from its original value to its original value + n

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

Variable-=n

A

Operator Changes the value of a variable to its original value -n

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

round(float_value)

A

Rounds a float value up into an int data type

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

int(float_value)

A

Rounds a float value down into an int data type

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

Concatenation Operator

A

+

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

Variable/=n

A

Operator changes the variable’s value to the original value divided by n

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

Variable*=n

A

Operator changes the variable’s value to the original value multiplied by n

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

Variable**=n

A

Operator changes the variable’s value to the original value to the power of n

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