classes in python with methods code example Example: how to use class's in python class person: name = "jake" age = 13 x = vars(person) print(x)