title: As an absolute beginner how do I use %.2f with variables in python 3.2.5?
body: <p>I just started to use Python for high school computer science, and I'm working with the <code>print</code> command. I'm learning about the <code>%.2f</code> rounding technique with variables, however, the lesson is unclear. I'm not sure where to put the <code>%.2f</code> in the string, and how to put the <code>%</code> sign with the variable. My code is below. Maybe someone can point me in the right direction?</p>
  
  <pre><code>Wage = 10.25 # sets wage as 10.25
  Hours = 29 # sets hours as 29
  Pay = Wage * Hours # uses hours and wage to determine pay
  print("A student works for 29 hours at $10.25/hour. Their %.2f pay is", "$"+ %Pay)
  </code></pre>