Skip to content

Commit 0b0225b

Browse files
authored
Update operator_mod_samples.py
1 parent f854c5b commit 0b0225b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

working-with-the-python-operator-module/operator_mod_samples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import operator
2+
13
print(operator.truediv(5, 2)) # 5 / 2
24

35
print(operator.ge(5, 2)) # 5 >= 2

0 commit comments

Comments
 (0)