Skip to content

correct some mistakes and add some features #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
correct some mistakes
  • Loading branch information
mttaherpoor committed Nov 17, 2024
commit cade9a1f6837b59cec883cd965d4eba6e03cebb9
2 changes: 1 addition & 1 deletion 03_Day_Operators/03_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
2 changes: 1 addition & 1 deletion 03_Day_Operators/day-3.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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)
Expand Down