As of python v3.8 fstrings have a shorthand format option to print variable values with an equals sign. This PR updates the tuple unpacking example in chapter 3 to use this approach.
Thanks — I have already updated to f-strings in the 3rd edition draft (to be published early next year!), so I will update these notebooks here in the near future.
As of python v3.8 fstrings have a shorthand format option to print variable values with an equals sign. This PR updates the tuple unpacking example in chapter 3 to use this approach.