Saturday, February 3, 2018

Python Note #1

Turn string into integer

print(ord('0'))

>>> 48



print(ord('A'))

>>>

No comments:

Post a Comment