Tue Apr 18 15:31:44 UTC 2023 inscode

上级 df352508
{ pkgs }: { h_data= input("请输入十六进制数: ");
deps = [ print("十六进制数为:",h_data);
pkgs.python310Packages.pip data = int(h_data,16);
pkgs.python310Full print("对应二进制数是:",data);
]; b_data = bin(data);
} print("对应二进制数是:",b_data);
\ No newline at end of file \ No newline at end of file
print('欢迎来到 InsCode') h_data= input("请输入十六进制数: ");
\ No newline at end of file print("十六进制数为:",h_data);
data = int(h_data,16);
print("对应二进制数是:",data);
b_data = bin(data);
print("对应二进制数是:",b_data);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册