Skip to content

Commit 3f62f81

Browse files
authored
Update 704-math-abs.markdown
1 parent 00946c8 commit 3f62f81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_build/reference/704-math-abs.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44
55
Returns the absolute value of x.
66

7+
```
8+
a = 1
9+
b = -1
710
11+
print abs(a)
12+
print abs(b)
13+
```

0 commit comments

Comments
 (0)