随笔分类 - Python练习
摘要:0.题目如下: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1
阅读全文
摘要:0.题目如下: By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? 1.先理解什
阅读全文
摘要:练习题1. 请使用python, 对下面的函数进行处理, 在函数被调用时打印耗时详情 答案: 用到了装饰器,一个很简单的装饰器 贴出代码如下: 运行结果:
阅读全文

浙公网安备 33010602011771号