2 ms·
Compare a variable assignment in C and Python. In C: int i = 17; Means "set aside one int's worth of storage and fill it with the bit pattern for the numbe
by pdonis 8y ago
Compare a variable assignment in C and Python.
In C:
int i = 17;
Means "set aside one int's worth of storage and fill it with the bit pattern for the number 17".
In Python:
i = 17
means "create an int object with the value 17 and bind it in the current namespace dictionary to the name i".