st = "abXabXAbX"
ch = "A"
st = st.lower()
ch = ch.lower()
for i in st:
if (i==ch):
print st.find(i)
I am trying to position of the character "ch" in uppercase and lower case in the string "st". The for loop gets stuck at detecting the first "a", how do I get the loop to move on check the rest of the string?