Complete the code to call the function with the correct positional argument.
def greet(name): return f"Hello, {name}!" message = greet([1]) print(message)
Complete the function call using a keyword argument.
def describe_pet(pet_name, animal_type='dog'): return f"I have a {animal_type} named {pet_name}." info = describe_pet([1]) print(info)
Fix the error in the function call by placing arguments in the correct order.
def make_shirt(size, message): return f"Shirt size: {size}, message: {message}" result = make_shirt([1]) print(result)
Fill both blanks to create a function call with one positional and one keyword argument.
def order_drink(size, flavor): return f"Order: {size} {flavor} drink" order = order_drink([1], [2]) print(order)
Fill all three blanks to call the function with one positional and two keyword arguments in correct order.
def book_flight(destination, seat_class='Economy', meal='Standard'): return f"Flight to {destination}, Class: {seat_class}, Meal: {meal}" confirmation = book_flight([1], [2], [3]) print(confirmation)
