3 ms·
Numbers in Python are referenced objects. Low valued integers get reused to avoid the bloat of duplicate objects.
by kevin_thibedeau 7y ago
Numbers in Python are referenced objects. Low valued integers get reused to avoid the bloat of duplicate objects.