problem with output and stdout

Hello there. This is my first time solving problems on leetcode and I ran into a problem. The output of my code is "100", and the output expected is "100". But yet, site says im wrong. Also I see my output in "stdout", not in the "Output" line. I used "print()" method for output. How should I do it instead? Please help

class Solution:
    def addBinary(self, a, b):
        self.a=a
        self.b=b
        a=list(a)
        b=list(b)
        if '"' in a:
            a.remove('"')
        if '"' in a:
            a.remove('"')
        if '"' in b:
            b.remove('"')
        if '"' in b:
            b.remove('"')
        ar=""
        for i in range(len(a)):
            ar=ar+a[i]
        a=str(ar)
        br=""
        for i in range(len(b)):
            br=br+b[i]
        b=str(br)
        a=int(a,2)
        b=int(b,2)
        c=str(bin(a+b))
        return c[2:]
if __name__ == "__main__":
    s1=Solution()
    c='"'
    print(c+s1.addBinary(input(),input())+c)

        
![image](https://assets.leetcode.com/users/images/647f2503-97b6-4846-9f0f-f046b4961e67_1595229343.4933217.png)
Comments (1)