def prices(os, type): spot = AWSSpotInstance(config) prices = spot.getPrices(os=os, instance_type=type) Console.prices(os, type, prices)