- Author: Chris Albon, @ChrisAlbon
- Date: -
- Repo: Python 3 code snippets for data science
- Note: -
x = 6
y = 9
print(x + y)
15
print(x - y)
-3
print(x * y)
54
print(x % y)
6
print(x / y)
0.6666666666666666
print(x // y)
0
print(x ** y)
10077696
print((x + y) / x)
2.5
print(3 / 5)
0.6
"floor"
print(3 // 5)