Python 20 Create Class Takes Three Integers Sets Internal Variables Initializer Ensure Ent Q43854745
only by python 2.0 andabove
Create a class that takes in three integers and sets them tointernal variables
The initializer should ensure that the entered data is in factintegers and not strings, floats, or bools
If no data is entered for a variable, default it to 0
Create functions to test and return data for each of thefollowing:
– Is the first number greater than the second? (returnTrue/False)
– Is the first number greater than the third? (returnTrue/False)
– Is the second number greater than the first? (returnTrue/False)
– Is the second number greater than the third? (returnTrue/False)
– Is the third number greater than the first? (returnTrue/False)
– Is the third number greater than the second? (returnTrue/False)
– What is the largest number? (returnint)
– What is the smallest number (return int)
– Are all numbers equal? (return True/False)
Create an object of this class and call all of the functions
only by python 2.0 and above
Expert Answer
Answer to only by python 2.0 and above Create a class that takes in three integers and sets them to internal variables The initial…
OR