I have a string in python and i desire to find the index of the first occurrence of the letter l in it. Here is the code am using

mystring="abcdloplu"
##how do i get the index of the first occurrence of l in the string
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.