We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28bc67a + 2c12f84 commit 9821e13Copy full SHA for 9821e13
problems/504.base-7.md
@@ -85,7 +85,7 @@ class Solution:
85
class Solution:
86
def convertToBase7(self, num: int) -> str:
87
if num == 0:
88
- return 0
+ return "0"
89
ans = []
90
is_negative = num < 0
91
num = abs(num)
0 commit comments