Skip to content

Commit 9821e13

Browse files
authored
Merge pull request azl397985856#521 from andy814/master
2 parents 28bc67a + 2c12f84 commit 9821e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/504.base-7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Solution:
8585
class Solution:
8686
def convertToBase7(self, num: int) -> str:
8787
if num == 0:
88-
return 0
88+
return "0"
8989
ans = []
9090
is_negative = num < 0
9191
num = abs(num)

0 commit comments

Comments
 (0)