3 ms·
Conventional computing has no concept of positive or negative, but rather uses a signing bit to discern their polarity (for example, an 8-bit value could repres
by smoldesu 5y ago
Conventional computing has no concept of positive or negative, but rather uses a signing bit to discern their polarity (for example, an 8-bit value could represent either -127-128 or 0-255). That concept of "type correctness" is lost whenever you haphazardly cast unlike values between one another (in this case ints and strings), so we're trusting the Python interpreter to magically perform this illegal, slow operation without supervision.