Following Python code could be used in order to get all values from the function:
global a, b, c a, b, c = function()
result:
a=5, b=10, c=20
How can I get only b value without defining a and c variables?
When you want to ignore some values, then use _.
_
_,b,_ = function()
1.4m articles
1.4m replys
5 comments
57.0k users