# By <NAME>
# PEP8 - whitespaces and variable names.
class Pizza:
    def __init__ (self, mybread_type, cheese_type, meat_type, pizza_toppings, size):
        ''' Initializes class instances'''
        self.bread_type = mybread_type
        self.cheese_type = cheese_type
        self.meat = meat_type
        self.toppings = pizza_toppings
        self.size = size        
    @classmethod
    def create_chicago_pizza(cls, size):
        '''Creates Chicago Pizza'''
        bread = 'deep-dish bread'
        cheese = 'mozzarella cheese'
        meat_type = 'Italian sausage'
        toppings = ['green bell pepper', 'mushroom', 'chunky tomato sauce', 'onion']
        return cls(bread, cheese, meat_type, toppings, size)    
    @classmethod
    def create_california_pizza(cls, meat_type, size):
        ''' Creates California Pizza '''
        bread = 'thin crust'
        cheese = 'feta cheese'
        toppings = ['garlic', 'spinach', 'broccoli', 'olives', 'red onion', 'red bell pepper']
        return cls(bread, cheese, meat_type, toppings, size) 
    def print_info(self):
        ''' Prints all data'''
        print('bread type is: ', self.bread_type)
        print('cheese type is: ', self.cheese_type)
        print('meat type is: ', self.meat)
        print('Toppings are: ', end='')
        print(', '.join(map(str, self.toppings)))

    
myPizza = Pizza.create_california_pizza('chicken', 'large')
myPizza.print_info()