title: What is the Python equivalent of embedding an expression in a string? (ie. "#{expr}" in Ruby)
body: <p>In Python, I'd like to create a string block with embedded expressions.<br>
  In Ruby, the code looks like this:</p>
  
  <pre><code>def get_val
    100
  end
  
  def testcode
  s=&lt;&lt;EOS
  
  This is a sample string that references a variable whose value is: #{get_val}
  Incrementing the value: #{get_val + 1}
  
  EOS
    puts s
  end
  
  testcode
  </code></pre>