tooted = [['banaan', 1.18], ['vorst',3.37],['juust',4.08],['kartul',1.40],['ananass',3]]
print('Valige toode\n 1 - banaan\n 2 - vorst\n 3 - juust\n 4 - kartul\n 5 - ananass\n')
toode = int(input('Valige toode selle j2rjekorra numbriga:'))
if 1<=toode and toode<=5:
    print('Valitud toode %s'%(tooted[toode-1][0]))
else:
    print('Viga!')
kogus = float(input('Kui suur on toote kogus?'))
if 1<=toode and toode<=5:
    print('Teie arve on %.2f' %(round(tooted[toode-1][1]*kogus,2)))
else:
    print('Viga!')