Skip to content

Commit dbc25b7

Browse files
authored
Added exponential calculation
1 parent b716ac9 commit dbc25b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

en/python_introduction/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Nice! See how the answer popped out? Python knows math! You could try other comm
4242
- `5 - 1`
4343
- `40 / 2`
4444

45+
To perform exponential calculation, say 2 to the power 3, we type:
46+
```python
47+
>>> 2 ** 3
48+
8
49+
```
50+
4551
Have fun with this for a little while and then get back here. :)
4652

4753
As you can see, Python is a great calculator. If you're wondering what else you can do…

0 commit comments

Comments
 (0)