title: Python: Printing a function as a string inside of another printed string?
body: <p>I am very new at python.  I am wondering of the easiest way or alternative to defining a function as a string, and then printing said string in another print line, such as demonstrated here:</p>
  <pre><code>def world():
      print(&quot;World!&quot;)
  
  print(&quot;Hello &quot; + world())
  </code></pre>
  <p>I am sure that this is an easy fix/search, but I cannot seem to find what I am searching for.  Thank you!</p>