代码要求: 写一个函数为get_digits,要求get_digits(123456)==>[1,2,3,4,5] 参考代码: 我写的 c = [] def get_digits(...
python小习题,递归实现十进制转二进制
习题要求: 使用递归的方式,对十进制的数字转为二进制。参考内容:https://www.lijinlong.cc/python/pyxt/1615.html 习题代码: 代码一 def ...
2017-5-15 - 李金龙
