Create tower with python program

In this simple example we are going to write a short python program which will create a tower by comparing the exchange rate between us dollar and another foreign currency. If that foreign currency value is larger than us dollar then the tower will go upside down or else it will stay upright. That exchange rate will first get converted to integer instead of float which means that the decimal point value will not be included when we build the tower. Below is the full source code, the code is not that difficult to understand.

In the example above, when we use the exchange rate of 1 usd to 18.51 peso we get the below graph which clearly shows US Dollar is indeed very strong at the moment as compared to the world currencies, basically if you see the exchange rate between the us dollar and the other currency you will find out that there is no one nation in the world which will make the us dollar tower turns upside down, the closest we can get is 1 euro is equal to 1.23 usd which will only create a dot in the screen after we have omitted the decimal point.