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