Can't you just take the difference between price and priceW, and then multiply by rate. If you want to print out every increment, then some kind of loop is necessary, and should be in a function that you pass the prices, rate, and literal to print, since both calculations are the same.
woooee 814 Nearly a Posting Maven
imperialguy commented: This person is killing the chances of getting a solution to this problem. I don't know why he is doing it. -1
Gribouillis commented: I like the " with ... as lines" +13
Gribouillis commented: great and stylish +13
bigredaltoid commented: Wooee has been an immense amount of help to this new Python user! +1
Hikki_Passion commented: YOU MADE IT WORK! :O Genious! +1