I just moved to python and need to know how to choose a specific variable from multiple output variables.
Below is what i used to do in matlab, and what i need to do in python
How can I replace ~ operator in python
function [a,b,c] = myfun(x,y)
a=x
b=y
c=x*y
[~,~,c] = myfun(5,2)
def myfunc(x,y):
return x,y,x*y
~,~,c = myfunc(5,2)