title: Should I often create a class to indicate the type in python?
body: <p>I have to learn Python now.</p>
  
  <p>I feel it is really quite opposite to strongly typed language, such as OCaml and Java,  and the type thing is faded largely.</p>
  
  <p>For example, when I read someone's code, I have no idea of what's the input and what's the output. Sometimes, it can be a list of dict whose value is a dict whose value is again a list.</p>
  
  <p>What I have to do is to run it and print it then I know.</p>
  
  <p>I haven't got used to this. </p>
  
  <ol>
  <li>How to get used to this? </li>
  <li>Should I create some classes just to indicate the type? </li>
  <li>What's the general rules?</li>
  </ol>