title: how to define a structure like in C
body: <p>I am going to define a structure and pass it into a function:</p>
  
  <p>In C:</p>
  
  <pre><code>struct stru {
  int a;
  int b;
  };
  
  s = new stru()
  s-&gt;a = 10;
  
  func_a(s);
  </code></pre>
  
  <p>How this can be done in Python?</p>