title: Is there a way in Python to return a value via an output parameter?
body: <p>Some languages have the feature to return values using parameters also like C#.
  Let’s take a look at an example:</p>
  
  <pre><code>class OutClass
  {
      static void OutMethod(out int age)
      {
          age = 26;
      }
      static void Main()
      {
          int value;
          OutMethod(out value);
          // value is now 26
      }
  }
  </code></pre>
  
  <p>So is there anything similar in Python to get a value using parameter, too?</p>