0 votes

1 Answer

0 votes
by
In Python programming, the class is created using a class keyword. The syntax for creating a class is as follows:

class ClassName:

#code (statement-suite)

Example of creating a class in Python.

Output:

XYZ
...