Before writing your first class, you should know the syntax. We define a class in the following way..
		
class nameoftheclass:
    statement1
    statement2
    statement3
			in the statements you can write any python statement, you can define functions (which we call methods of a class).
		
>>> class MyClass:
...     a = 90
...     b = 88
...
>>> p = MyClass()
>>> p
<__main__.MyClass instance at 0xb7c8aa6c>
			In the above example you can see first we are declaring a class called MyClass, writing some random statements inside that class. After the class definition, we are creating an object p of the class MyClass.If you do a dir on that...
		
>>> dir(p)
['__doc__', '__module__', 'a', 'b']
			You can see the variables a and b inside it.