core

In python, is there a "pass" equivalent for a variable assignment

In python, is there a "pass" equivalent for a variable assignment Question: I am using a library function called get_count_and_price which returns a 2-tuple (count,price). In many places I use both time and price. However, in some I only need time or price. So right now, if I only need count, I assign to (count,price) …

Total answers: 6