4
Contributors
4
Replies
5
Views
12 Years
Discussion Span
Last Post by vegaseat
0

The integer is the smallest number in Python.

For the purpose of shift and mask operations, integers are assumed to have a binary, 2's complement notation using 32 or more bits, and hiding no bits from the user (i.e., all 4294967296 different bit patterns correspond to different values).

0

The size of a character in a string is a byte. You could use ord() and chr() to convert back and forth. Make your life interesting!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.