convert an integer into 2 bytes in python

后端 未结 0 1509
耶瑟儿~
耶瑟儿~ 2021-02-01 15:53

Hey I have this code where I want to represent 1 as two bytes but when I access it back I am getting (1,) I do not want the comma and want to equate it like y==1

var = st

相关标签:
回答
  • 消灭零回复
提交回复
热议问题