TypeError: unbound method additon() must be called with calculator instance as first argument (got int instance instead)


class calculator:

def additon(x,y):
    add = int(x) + int(y)
    print (add)

def sub(x,y):
    sub = x - y

def mult(x,y):
    mult = x * y

def div(x,y):
    div = x / y



This post is poor behavior on your part. Not only is this off-topic for the forum (there are plenty of places to go for code help, and this isn’t one of them), you just expect us to know that you’re working with Python and you don’t have the decency to write out anything about what you’re trying to do.

Ask Google. It will help you find the answer.