multiple assignments in one line for loop python
multiple assignments in one line for loop python Question: I would like a one line way of assigning two variables to two different values in a for loop. I have a list of list of values list_values = [[1, 2, 3], [4, 5, 6]] I have tried to do this, and it works but is …
Total answers: 2