Python入门实战:Round 3

2026-04-15 07:29:13

哈,这个系列是跟小伙伴一起组织的Python兴趣小组的习题,每一期内容会包括三个部分:题目、小伙伴答案和全球开发者答案。话不多说,Show you the code ~

Round 3# Binary Addition

Implement a function that adds two numbers together and returns their sum in binary. The conversion can be done before, or after the addition.Local answers

    解决的方式主要以使用内置函数为主,一行代码解决Global answers

      这次练习小伙伴的答案可以说跟全球开发者是一样一样的注意事项

        代码下载:https://pan.baidu.com/s/1qZOzLNm

相关推荐
  • 阅读量:64
  • 阅读量:24
  • 阅读量:81
  • 阅读量:61
  • 阅读量:21
  • 猜你喜欢