Question: Hello, what is the bug here? class MathUtils: @staticmethod def average(a, b): return a + b / 2 print(MathUtils.average(2, 1)) It's not giving me the
Hello, what is the bug here?
class MathUtils:
@staticmethod def average(a, b): return a + b / 2
print(MathUtils.average(2, 1))
It's not giving me the right answer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
