Browse Source

code update

tobby48 5 years ago
parent
commit
e20783801c
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/kr/co/swh/lecture/algorithm/Lv5-2.py

+ 1
- 2
src/kr/co/swh/lecture/algorithm/Lv5-2.py View File

@@ -56,7 +56,6 @@ 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 = int(st_day)+1
60
-    st_mon = int(st_mon)
59
+    st_day = st_day+1
61 60
     st_total+=1
62 61