logo

Crowdly

Browser

Add to Chrome

Mis on @Staticmethodi kasutamise eelised? class Calculator:     @Staticme...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Mis on @Staticmethodi kasutamise eelised?

class Calculator:

    @Staticmethod

    def add(a, b):

        return a + b

print(Calculator.add(5, 7))
More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome