title: Assign an additional class to a variable in python (equivalence in R shown)
body: <p>In <strong>R</strong>, you can do something like this:</p>
  
  <pre><code>x &lt;- 3
  cl &lt;- class(x)
  class(x) &lt;- c("abc",cl)
  </code></pre>
  
  <p>So variable 'x' will be an integer as well as belong to user-defined class 'abc'. <br></p>
  
  <p>I want to do a similar thing in <strong>Python</strong>. My variable 'x' should be considered as integer and should also have the attributes of user-defined class named "abc".</p>