...

/

Challenge: Write a Class that Maintains an Integer

Challenge: Write a Class that Maintains an Integer

Write a code inside a class that maintains an integer.

Write a class called Number that maintains an integer. It should have the following methods in it to perform various operations on the integer:

set_number(self, n)    # sets n into
...