Which of the following is NOT a valid way to unpack a dictionary into function keyword arguments?

Python Professional Hard

Python Professional — Hard

Which of the following is NOT a valid way to unpack a dictionary into function keyword arguments?

Key points

  • **d is used to unpack a dictionary into keyword arguments
  • *d is used to unpack a list or tuple into positional arguments
  • Incorrect options involve incorrect syntax for dictionary unpacking

Ready to go further?

Related questions