i need to print the currency conversion. but instead of multiplying the value into 100. im gettinbg an output as the amount is repeated for 100 times
def curconv(curr,amount):
value = 0
c = ['AUD','CHF','CNY','DKK','EUR','GBP','HKD','INR','JPY','MXN','MYR','NOK','NZD','PHP','SEK','SGD','THB']
cv = ['1.0345157','1.0237414','0.1550176','0.1651442','1.2296544','1.5550989','0.1270207','0.0177643','0.01241401','0.0751848','0.3145411','0.1677063','0.8003591','0.0233234','0.148269','0.788871','0.0313789']
for i in range(len(c)):
if c[i]== curr:
value = (amount * cv[i])
return value
print(curconv('INR',100))