python
婷=(^.^)=
这个作者很懒,什么都没留下…
展开
-
python 入门1-变量及字符串-菜菜持续更新ing
python 入门1-变量及字符串-菜菜持续更新ing ##变量的命名规范: 1.标识符的第一个字符为字符或下划线; 2.其他字符为字母下划线或者数值; 3.名称区分大小写; ##变量类型: 1.字符串str; 2.数字 int float complex 3.列表 list 4.元组 tuple 5.字典 dict python中的如何定义不同类型的变量?? 怎么区分不同的变量类型; bool ...原创 2019-02-25 21:35:52 · 174 阅读 · 0 评论 -
pyhon 实例练习——求某一日期是该年中的第几天:数组,IF语句
Year = int (input(“please input the right year:”)) month = int (input(“please input the right month(1-12):”)) day = int (input(“please input the right day(1-31):”)) months = (0,31,59,90,120,151,181,21...原创 2019-07-28 17:00:45 · 402 阅读 · 0 评论