Suppose I want the following psuedocode to work
method generateClass(string name, <string,type>[] attributes)
class name()
//used like int a
// char b
attributes[0].[0] attributes[0].[1]
attributes[1].[0] attributes[1].[1]
How would I do it in python?