Deal with Percents
You've managed a lot of tasks already, but let's add something new related to math operations.
Math symbol | Usage | Example in Python | Result |
---|---|---|---|
* | Multiplying numbers | 5 * 6 | 30 |
// | Integer Division. It is used when we want to know how many right numbers the left number contains. | 15//2 | 7 |
% | Remainder. It is used when we want to calculate the remainder of a division. | 15 % 2 | 1 |
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 5
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 2.08
Deal with Percents
Glissez pour afficher le menu
You've managed a lot of tasks already, but let's add something new related to math operations.
Math symbol | Usage | Example in Python | Result |
---|---|---|---|
* | Multiplying numbers | 5 * 6 | 30 |
// | Integer Division. It is used when we want to know how many right numbers the left number contains. | 15//2 | 7 |
% | Remainder. It is used when we want to calculate the remainder of a division. | 15 % 2 | 1 |
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 5