https://blog.csdn.net/Zjack_understands/article/details/80242946
此外,int(x,base) 无论base的值是什么,int函数的作用都是把字符串转换成10进制
其中的base指传入的字符串x中的数字是几进制
Sign in to make a reply
一盒噪噪
https://blog.csdn.net/Zjack_understands/article/details/80242946
此外,int(x,base) 无论base的值是什么,int函数的作用都是把字符串转换成10进制
其中的base指传入的字符串x中的数字是几进制