内置函数类 a = "1111"a = int(a, base=8) # a为十进制转化为十进制print(a)age = 4r = age.bit_length() # 显示的二进制长度print(r)temp = "wjl"t = temp.capitalize() #首字母大写print(t)v1 = "WJL"v1 = v1.case... Other 2023-09-15 45 点赞 0 评论 68 浏览