Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
d8292d4ead
commit
60f413276d
1 changed files with 3 additions and 1 deletions
|
@ -142,6 +142,8 @@ end
|
|||
x = x*2;
|
||||
```
|
||||
|
||||
Python version:
|
||||
|
||||
```python
|
||||
x: float = 1.0
|
||||
|
||||
|
@ -149,7 +151,7 @@ while 1 + x != 1:
|
|||
x = x / 2
|
||||
|
||||
x = x * 2
|
||||
print(x)
|
||||
print(x) # -> 2.220446049250313e-16
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue