mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
12 lines
199 B
Python
12 lines
199 B
Python
assert long(123) == long('123') == 123
|
|
|
|
a = long(2)
|
|
assert a ** 0 == 1
|
|
assert a ** 60 == 1152921504606846976
|
|
|
|
assert a + 1 == 3
|
|
assert a - 1 == 1
|
|
assert a * 2 == 4
|
|
assert a // 2 == 1
|
|
|
|
assert -a == -2 |