JavaShuo
欄目
標籤
python-練習11.20
時間 2021-01-21
標籤
閏年
季節
bool
欄目
Python
简体版
原文
原文鏈接
1 .輸入年、月,輸出本月有多少天。合理選擇分支語句完成設計任務。 輸入樣例1:2004 2 輸出結果1:本月29天 輸入樣例2:2010 4 輸出結果2:本月30天 year = int(input('輸入年份:')) month = int(input('輸入月份:')) #考慮分爲4種情況,閏年的二月爲29天,平年的2月爲28天,30天的月份,31天的月份 if ((((year%4 ==
>>阅读原文<<
相關文章
1.
Python練習題
2.
python練習5
3.
python練習2
4.
python練習1
5.
python-練習
6.
python練習題
7.
Python練習
8.
python小練習
9.
python - sorted練習
10.
python練習(二)
更多相關文章...
•
SQLite - Python
-
SQLite教程
•
Docker 安裝 Python
-
Docker教程
•
Tomcat學習筆記(史上最全tomcat學習筆記)
•
Kotlin學習(二)基本類型
相關標籤/搜索
11.20
Python練習
練習
練練
刻意練習
練習生
BFS練習
NOIP練習
CSS練習
Python
PHP教程
Thymeleaf 教程
MySQL教程
學習路線
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
「插件」Runner更新Pro版,幫助設計師遠離996
2.
錯誤 707 Could not load file or assembly ‘Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKe
3.
Jenkins 2018 報告速覽,Kubernetes使用率躍升235%!
4.
TVI-Android技術篇之註解Annotation
5.
android studio啓動項目
6.
Android的ADIL
7.
Android卡頓的檢測及優化方法彙總(線下+線上)
8.
登錄註冊的業務邏輯流程梳理
9.
NDK(1)創建自己的C/C++文件
10.
小菜的系統框架界面設計-你的評估是我的決策
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Python練習題
2.
python練習5
3.
python練習2
4.
python練習1
5.
python-練習
6.
python練習題
7.
Python練習
8.
python小練習
9.
python - sorted練習
10.
python練習(二)
>>更多相關文章<<