Cylinder class: Instance variables: Make instance variablesappropriately to accomplish the tasks you need. Methods:
? __init__ :: constructor, initializes instance variables
o Additional Parameters: diameter and height (in that order)
o Assumption: diameter and height will always be numbers whichrepresent measurements in millimeters
o Temporary Assumption: diameter will never be negative andheight will always be positive number above 0
? get_volume :: returns the volume of the cylinder based on itsheight
o Additional Parameters: No additional parameters (justself).
o Note: Use pi from the math module
Material class: Instance variables: Make instance variablesappropriately to accomplish the tasks you need. Methods:
? __init__ :: constructor, initializes instance variables
o Additional Parameters:
PayPal Gateway not configured
PayPal Gateway not configured