I have the following statement:
print ("You have entered the price of ",var1, "for a chocolate bar")
Which works happily however i need to put a '$' infront of it for the output. I tried hiding it in the print statement however then you end up with a gap between it so you end up with
'You have entered the price of $ 34.33 for a chocolate bar'.
I need it to be:
'You have entered the price of $34.33 for a chocolate bar'.
I am very new to python, and this is tripping me up. Any help would be appreciated. Im using python 3.3.4