Why Python Exec Define Class Not Working Stack Overflow

Why Python Exec Define Class Not Working Stack Overflow