Python Math Operators: + - * / // % ** and round() | Python for Beginners #3

Publié le: 17 November 2026
sur la chaîne: pylearn
12
0

In this lesson, you'll let Python do the math. You'll meet every basic operator, learn which question each one answers, and see how Python decides what to calculate first.

In this lesson you'll learn to:
• Use +, -, , /, //, %, and and say what question each one answers
• Choose between / (division with a fraction) and // (complete groups)
• Use % to find a remainder
• Round a result for display with round()
• Predict results using the order of operations, and use parentheses to change it
• Keep track of units so a correct calculation answers the right question

Chapters
0:00 Welcome
0:14 Minutes into hours
0:39 The four operations
1:08 Groups and leftovers
2:02 Powers and rounding
2:36 Order of operations
3:16 Numbers need units
3:52 Predict, run, inspect
4:40 Recap

Everything is typed and run live in a real Python editor, so every output and error you see is real. Pause the video and try each step yourself.

This is lesson 3 of the Python for Beginners series. No experience needed: start at lesson 1 and go in order.
Next lesson: Strings and f-Strings.

Practise in the PyLearn app: Interactive Practice, then the lesson's exercise.

#python #learnpython #pythonforbeginners


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Math Operators: + - * / // % ** and round() | Python for Beginners #3 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur pylearn 17 November 2026, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12 fois et il a aimé 0 téléspectateurs. Bon visionnage!