You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a class called NumberSet that accepts 2 integers as input, and defines two instance variables: num1 and num2, which hold each of the input integers. Then, create an instance of NumberSet where its num1 is 6 and its num2 is 10. Save this instance to a variable t.
"""
classNumset:
"""
This is the class which accepts two integers
"""
def__init__(self, int_num1, int_num2):
"""
Initializes the values
:param int_num1: assigns to instance variable num1
:param int_num2: assigns to instance variable num2