i'm a new comer to this language. can anybody tell me why this simple piece of code gives me an error indicating that "NameError,name 'example' is not defined". by the way i use Wing IDE to write my codings.
class example():
def _init_ ():
print("a class is created")
def m1 ():
print("a method")
ex1 = example()
ex1.m1()
pls help me out