correct some mistakes

This commit is contained in:
Taher 2024-11-17 14:14:34 +03:30
parent 8ed841e750
commit cade9a1f68
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ print('Division: ', 7 / 2) # 3.5
print('Division without the remainder: ', 7 // 2) # 3, gives without the floating number or without the remaining
print ('Division without the remainder: ',7 // 3) # 2
print('Modulus: ', 3 % 2) # 1, Gives the remainder
print('Exponentiation: ', 2 ** 3) # 9 it means 2 * 2 * 2
print('Exponentiation: ', 2 ** 3) # 8 it means 2 * 2 * 2
```
**Example:Floats**

View File

@ -10,7 +10,7 @@ print('Division: ', 7 / 2)
print('Division without the remainder: ', 7 // 2) # gives without the floating number or without the remaining
print('Modulus: ', 3 % 2) # Gives the remainder
print ('Division without the remainder: ', 7 // 3)
print('Exponential: ', 3 ** 2) # it means 3 * 3
print('Exponential: ', 2 ** 3) # 8 it means 2 * 2 * 2
# Floating numbers
print('Floating Number,PI', 3.14)