开发者社区 问答 正文

Python中class int(x, base=10)中参数base指什么呢?

Python中class int(x, base=10)中参数base指什么呢?

展开
收起
游客ydhxr2xydmgpo 2021-10-31 16:40:47 658 分享 版权
1 条回答
写回答
取消 提交回答
  • base -- 进制数,默认十进制。

    2021-10-31 16:41:15
    赞同 展开评论