将十六进制的数字存储在清单python
我想将十六进制数量存储在列表中。在python中执行以下错误: a = [2a,cd,12,11,bd,26,64,11,2d,34,34,12,55,63,67,e8]
File "main.py", line 4
a = [2a, cd, 12, 11, bd, 26, 64, 11, 2d, 34, 12, 55, 63, 67, e8]
^
SyntaxError: invalid syntax
我该怎么做?
I want to store hexadecimal numbers in a list. Doing this in python gives the following error:a = [2a, cd, 12, 11, bd, 26, 64, 11, 2d, 34, 12, 55, 63, 67, e8]
File "main.py", line 4
a = [2a, cd, 12, 11, bd, 26, 64, 11, 2d, 34, 12, 55, 63, 67, e8]
^
SyntaxError: invalid syntax
How can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论