Get your own Python server Result Size: 625 x 565
x
 
class MyClass:
  name = "John"
del MyClass
print(MyClass)
Traceback (most recent call last):
  File "demo_ref_keyword_del.py", line 6, in <modulegt;
    print(MyClass)
NameError: name 'MyClass' is not defined