►
Run
class A: name = 'Apple' num = 25 print(type('A', (), dict(name='Apple')))
Output