List comprehension tuples and obj equals
2 Quick TILs today -
- You cannot use a tuple in a list comprehension without params -

The correct syntax is
[(i,j) for i in a for j in b
- The usage of obj= within a formatted string during printing results in both the object’s name as well its value separated by an “=” being printed -
In the imge below, a is a list as used earlier. Therefore -

- WIP