Получить шестнадцатеричный код персонажа Python
hex(ord("c"))
Wicked Wildebeest
hex(ord("c"))
print (hex(value))
import codecs
codecs.encode(b"c", "hex")
number = 435
print(number, 'in hex =', hex(number))
number = 0
print(number, 'in hex =', hex(number))
number = -34
print(number, 'in hex =', hex(number))
returnType = type(hex(number))
print('Return type from hex() is', returnType)