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

Pubblicato il: 17 November 2026
sul canale di: 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


In questa pagina del sito puoi guardare il video online Python Math Operators: + - * / // % ** and round() | Python for Beginners #3 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato pylearn 17 November 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12 volte e gli è piaciuto 0 spettatori. Buona visione!