title: How can I forward-declare/prototype a function in Python?
body: <p>How do I prototype a method in a generic Python program similar to C++?</p>
  <pre><code># Prototype
  # Do Python prototyping
  
  writeHello() # Gives an error as it was not defined yet
  
  def writeHello():
      print &quot;Hello&quot;
  </code></pre>