unsigned

How to convert signed to unsigned integer in python

How to convert signed to unsigned integer in python Question: Let’s say I have this number i = -6884376. How do I refer to it as to an unsigned variable? Something like (unsigned long)i in C. Asked By: Lior || Source Answers: Python doesn’t have builtin unsigned types. You can use mathematical operations to compute …

Total answers: 6