SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

0 0 1 Python

shortened code using abs() and inplace ops (#7191)

n = -n if n < 0 else n --> n = abs(n)
n = n // 10 --> n //= 10
L
Lukas Esc committed
cafbbab125ebcdac4294f4cbda024b840d230b9a
Parent: 9278d0c
Committed by GitHub <noreply@github.com> on 10/30/2022, 10:56:54 AM