19 lines
258 B
Markdown
19 lines
258 B
Markdown
|
Just a Python calculator :D
|
||
|
|
||
|
```py
|
||
|
python3 main.py
|
||
|
```
|
||
|
|
||
|
Example use:
|
||
|
|
||
|
```bash
|
||
|
5 + 5
|
||
|
>>10
|
||
|
6 * 5
|
||
|
>>30
|
||
|
6/2
|
||
|
>>3.0
|
||
|
4!
|
||
|
>><repl>:1:?: internal interpreter error: TypeError: InvalidSyntaxError.__init__() missing 1 required positional argument: 'offending_token'
|
||
|
```
|