7
python100道经典例题(1 ~10)
source link: https://blog.csdn.net/m0_51353258/article/details/111147748
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
python100道经典例题(1 ~10)
python100道经典例题(1 ~10)
这是我第一次尝试写博客,如果写的不好希望大家见谅。我也是小白一个,有兴趣大家可以一起学习。
题目1:有1, 2, 3, 4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?
程序分析:依次遍历
题目4:输入某年某月某日,判断这一天是这一年的第几天?题目5.输入三个整数x,y,z,请把这三个数由小到大输出?题目6.斐波那契数列运行结果:
题目7.将一个列表的数据复制到一个列表中
题目8.求一个九九乘法表
题目9.暂停一秒输出题目10.暂停一秒输出,并格式化当前时间Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK