Browse Source

업데이트 'src/kr/co/swh/lecture/algorithm/Lv4-3.py'

tobby48 3 years ago
parent
commit
fd1896d61e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/kr/co/swh/lecture/algorithm/Lv4-3.py

+ 1
- 1
src/kr/co/swh/lecture/algorithm/Lv4-3.py View File

@@ -5,7 +5,7 @@ while a:
5 5
     a=a//3
6 6
     if b == 0:
7 7
         r.append(4)
8
-        a-=1
8
+        a = a-1
9 9
     else:
10 10
         r.append(b)
11 11
 r.reverse()