Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Python Operators and Expressions (Summary)

Now you know what operators Python supports and how to use them. Operators are symbols, combinations of symbols, or keywords that you can use along with Python objects to build different types of expressions and perform computations in your code.

In this video course, you’ve learned:

  • What Python’s arithmetic operators are and how to use them in arithmetic expressions
  • What Python’s comparison, Boolean, identity, membership operators are
  • How to write expressions using comparison, Boolean, identity, and membership operators
  • Which bitwise operators Python supports and how to use them
  • How to combine and repeat sequences using the concatenation and repetition operators
  • What the augmented assignment operators are and how they work

Resources linked in this lesson:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Already a member? Sign-In

00:00 Congratulations on completing Python Operators and Expressions. We covered a lot of ground on this one and learned a lot along the way. Make sure you continue to practice and make use of these operators in your code whenever you get the chance.

00:13 In this course, you’ve learned how to understand and apply Python’s built-in operators, distinguish between unary, binary and ternary operators, recognize how expressions differ from statements, perform mathematical calculations with arithmetic operators, work with the many operators that return Boolean results, and build logical expressions using Boolean operators.

00:35 For all of the ground that we did cover, there were still topics in the original tutorial that couldn’t be included without, well, doubling the length of this course.

00:43 Stuff like augmented assignment operators, repetition operators, and one of my personal favorites, the bitwise operators. To learn more about these and see even more examples, head on over to “Operators and Expressions in Python”.

00:58 And now for some course recommendations. Curious about working with errors and exceptions in Python? I recommend “Raising and Handling Python Exceptions”.

01:06 For a more detailed look at conditionals and Booleans, as well as other ways of structuring how your code executes, I highly recommend Control Flow Structures in Python.

01:16 And for something a little more advanced, but super interesting, “Syntactic Sugar: Why Python is Sweet and Pythonic”, really gets into the weeds and explains some of the how behind Python’s elegant syntax.

01:29 Once again, this is Joseph signing off. Thanks for watching.

Become a Member to join the conversation.