Class and attributes allow to make your own definition.
1st Syntax -
class Sample():
pass
2nd Syntax -
class Fruit():
def __init__(self,color,season,seeds):
self.color = color
self.season = season
self.seeds = seeds
The process of the code
1) Take in the argument
2)Define our arguments
3)Use the arguments