Skip to content

Commit 7c17b82

Browse files
authored
Update 504.base-7.md
1 parent a889eb0 commit 7c17b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/504.base-7.md

Lines changed: 1 addition & 1 deletion
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)