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
     a=a//3
5
     a=a//3
6
     if b == 0:
6
     if b == 0:
7
         r.append(4)
7
         r.append(4)
8
-        a-=1
8
+        a = a-1
9
     else:
9
     else:
10
         r.append(b)
10
         r.append(b)
11
 r.reverse()
11
 r.reverse()