title: How do I fix this "TypeError: 'str' object is not callable" error?
body: <p>I'm creating a basic program that will use a GUI to get a price of an item, then take 10% off of the price if the initial price is less than 10, or take 20% off of the price if the initial price is greater than ten:</p>
  
  <pre><code>import easygui
  price=easygui.enterbox("What is the price of the item?")
  if float(price) &lt; 10:
      easygui.msgbox("Your new price is: $"(float(price) * 0.1))
  elif float(price) &gt; 10:
      easygui.msgbox("Your new price is: $"(float(price) * 0.2))
  </code></pre>
  
  <p>I keep getting this error though:  </p>
  
  <pre class="lang-none prettyprint-override"><code>easygui.msgbox("Your new price is: $"(float(price) * 0.1))
  TypeError: 'str' object is not callable`
  </code></pre>
  
  <p>Why am I getting this error?</p>