You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error is because you use the same variable name to input and output func location(name, city string) (name, continent string). You should use different names, and your function should return two values not one.
I'm getting a 'duplicate argument name' with the below code
The text was updated successfully, but these errors were encountered: