Let's Find the resister
write a function to calculate the resister value, when we give the three colors of it as input parameters. You can use python language.
Normally resisters have color codes and they indicate the resistance value of it. First you have to study that how to calculate the resistance value using its color code. Its ok to consider only the first three colors. its optional to consider tolerance value(4th color) for your calculations.
Submit your python script after complete.