so im learning how to programme with python, started recently therefor, i still suck! there is this exercise that asks me to create a programme that ads up your change , asking about 5c,10c,20c and 50c coins.. I dont know why its not working the total is ridiculously high, can anyone please help?
print "Hello mate, this programme helps you calculate the amount of small change you",
print "carry in Euros, if you are too dumb to count it on your own or",
print "just too lazy, this is the programme for you!!"
q=10*raw_input("how many 10c coins do you have?")
d=20*raw_input("how many 20c coins do you have?")
n=5*raw_input("how many 5c coins do you have?")
p=50*raw_input("how many 50c coins do you have?")`enter code here`
tc=int(q+d+n+p)
print "your total change is",tc,"thank you for choosing this programme!"