I have the following problem.
class Operacoes(object):
def __init__(self, *args):
self.__numero = args
def get_numero(self) -> int:
return self.__numero
x = Operacoes(10).get_numero()
print(x)
#(10,)
This is making me very intrigued, why does anyone know how to tell me?
args, should return an int in case number 10, but a Tuple is returning.