tobby48 4 年前
父节点
当前提交
4087d72b36
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/kr/co/swh/lecture/algorithm/Lv5-2.py

+ 2
- 1
src/kr/co/swh/lecture/algorithm/Lv5-2.py 查看文件

@@ -56,6 +56,7 @@ while st_total <= end_total:
56 56
     if st_day<10:
57 57
         st_day = "0"+ str(st_day)
58 58
     print(str(st_year) + str(st_mon) + str(st_day))
59
-    st_day = st_day+1
59
+    st_mon = int(st_mon)
60
+    st_day = int(st_day)+1
60 61
     st_total+=1
61 62