x_rate = 0.65 total_dollars = 200 fee = 2 total_pounds = (total_dollars - fee) * x_rate total_pounds = total_pounds - 100
total_dollars = (total_pounds/x_rate)-fee import math total_dollars = math.ceil(total_pounds/x_rate)-fee
x_rate = 0.65 total_dollars = 200 fee = 2 total_pounds = (total_dollars - fee) * x_rate total_pounds = total_pounds - 100
total_dollars = (total_pounds/x_rate)-fee import math total_dollars = math.ceil(total_pounds/x_rate)-fee