Skip to content

Commit 0435f4f

Browse files
authored
Update README.md
Instanciation with resotre argument
1 parent 4bef621 commit 0435f4f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ print(number)
3333
# Instanciation 4
3434
number = Complex(im=13.2, re=5) # --> Real = 5, Imaginary = 13.2
3535
print(number)
36+
# Instanciation 5
37+
number = Complex(re=3, im=-2.4, resotre=False) # resotre argument is by default True, whenever an error occurs on operation, the last result will be restored to the object, else if it is False then the object will be simply None.
3638
```
3739
### Basic operations
3840
```python

0 commit comments

Comments
 (0)