Python won't print expression
<p>So, I'm kind of new to programming and have been trying Python. I'm doing a really simple program that converts usd to euroes. </p>

<p>This is the text of the problem that I'm trying to solve</p>

<blockquote>
  <p>You are going to travel to France. You will need to convert dollars to euros (the
  currency of the European Union). There are two currency exchange booths. Each has
  a display that shows CR: their conversion rate as euros per dollar and their fee as a
  percentage. The fee is taken before your money is converted. Which booth will give
  you the most euros for your dollars, how many euros, and how much is the difference.
  Example 1:
  Dollars: 200
  CR1: 0.78
  Fee: 1 (amount 152.88 euros)
  CR2: 0.80
  Fee: 3 (amount 155.2 euros)
  Answer: 2 is the best; difference is 2.32 euros; 155.2 euros</p>
</blockquote>

<p>And here is my code</p>

<pre><code>    from __future__ import division

usd = int(input("How much in USD? "))
cr1 = int(input("What is the convertion rate of the first one? "))
fee1 = int(input("What is the fee of the first one? "))

cr2 = int(input("What is the convertion rate of the second one? "))
fee2 = int(input("What is the fee of the second one? "))

def convertion (usd, cr, fee):
    usdwfee = usd - fee
    convert = usdwfee * cr
    return convert

first = convertion(usd, cr1, fee1)
second = convertion(usd, cr2, fee2)

fs = first - second
sf = second - first

def ifstatements (first,second,fs,sf):
    if first &lt; second:
        print "1 is the best; difference is ",fs," euroes. 2 converts to ",first," euroes."
    elif first &gt; second:
        print "2 is the best; difference is",sf," euroes. 2 converts to", second," euroes."

ifstatements(first, second, fs, sf)
</code></pre>

<p>The problem is that when I run the program it won't print out. It just takes my input and doesn't output anything. </p>

<p>Check your logic more.</p>

<p><code>cr1 = int(input("What is the convertion rate of the first one? "))</code></p>

<p>Your conversion rate is in int. As in Integer which means it can't have a floating point (a decimal "CR1: 0.78" from your example). Your cr1 will become 0 if you cast it into an int. Also change your dollar and fees to accept floats too since I'm assuming you want to deal with cents too </p>

<p>So change:</p>

<pre><code>usd = float(input("How much in USD? "))
cr1 = float(input("What is the convertion rate of the first one? "))
fee1 = float(input("What is the fee of the first one? "))

cr2 = float(input("What is the convertion rate of the second one? "))
fee2 = float(input("What is the fee of the second one? "))
</code></pre>

<p>And it should work. </p>

python printing