logo CodeStepByStep logo

Calculator_class

Language/Type: Python classes

Suppose you were making a class named Calculator to use as the underlying data model for a calculator application like the one in your operating system. Answer the following questions about developing this class:

What might be the state (data attributes) of your class? (Check all that apply.)
What might be the behavior (methods) of your class? (Check all that apply.)
(order shuffled)

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.