Python class Keyword
Create a class named "Person":
name = "John"
age = 36
Definition and Usage
class keyword is used to create a class.
A class is like an object constructor. See the example below to see how we can use it to create an object.
Create an object named p1, using the class from the example above:
Read more about classes and objects in our Python Classes/Objects Tutorial.