Why is it showing error?


#1

class Solution:
# @param A : integer
# @return a strings
def convertToTitle(self, A):
if A==0:
return ‘’
else:
return self.convertToTitle((A-1)/26)+chr((A-1)%26+‘A’)