Computer Science, asked by tamaghnadey1916, 10 months ago

Meaning of the following: "TypeError: func() takes 0 positional arguments but 1 was given" I faced this kind of type error while running a func based on reversing an integer number. I can not understand where is the problem so please help if you know anything about it​

Answers

Answered by mohammads
1

Answer:

You are trying to pass an argument to the function

Explanation:

example.

void IntegerReverse()

{

//Your code

}

and you are calling it by passing an argument

IntegerReverse(8)

Similar questions