I am having below list:
platform = ['0/0','0/1','0/2','0/3']
from the above list i want to return a value for each item in that list.
if '0/0' in platform:
return value1
if '0/1' in platform:
return value2
and so on. but if i use this code it will stop when it finds the first match, for second and third values it will not match.
But i want to check how many items are there in that list and what are they ?and return the respective values for the items present in that list