COMP 110- Python Operators

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:18 PM on 8/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

+

Addition — Adds two values

2
New cards

-

Subtraction — Subtracts the right value from the left

3
New cards

*

Multiplication — Multiplies two values

4
New cards

**

Exponent — Raises the left value to the power of the right

5
New cards

/

Division — Divides the left value by the right

6
New cards

//

Floor Division — Divides and rounds down to the nearest whole number

7
New cards

%

Modulus — Returns the remainder after division

8
New cards
<

Less Than — Checks whether the left value is less than the right

9
New cards

>

Greater Than — Checks whether the left value is greater than the right

10
New cards

Less Than or Equal To — Checks whether the left value is less than or equal to the right

11
New cards

=

Greater Than or Equal To — Checks whether the left value is greater than or equal to the right

12
New cards

==

Equal To — Checks whether two values are equal

13
New cards

!=

Not Equal To — Checks whether two values are different

14
New cards
15
New cards

( )

Parentheses — Used for grouping/order of operations and for passing arguments to functions

16
New cards

[ ]

Brackets — Used to create a list or access an item in a list

17
New cards

{ }

Braces — Used to create a dictionary

18
New cards

,

Comma — Separates items, arguments, or values

19
New cards

:

Colon — Used to start a code block or separate parts of an expression

20
New cards

.

Dot — Accesses an attribute or method belonging to an object

21
New cards

=

Assignment — Assigns a value to a variable

22
New cards

;

Semicolon — Separates multiple statements on one line

23
New cards

+=

Add and Assign — Adds a value to a variable and stores the new value

24
New cards

-=

Subtract and Assign — Subtracts a value from a variable and stores the new value

25
New cards

*=

Multiply and Assign — Multiplies a variable by a value and stores the new value

26
New cards

/=

Divide and Assign — Divides a variable by a value and stores the new value

27
New cards

//=

Floor Divide and Assign — Floor-divides a variable and stores the new value

28
New cards

%=

Modulus and Assign — Finds the remainder and stores the new value

29
New cards

**=

Exponent and Assign — Raises a variable to a power and stores the new value