+ 1
Help with string.lower ..what does it return
import string recive a char...here 'a',ie ch='al string.find(string.lower,ch)!=-1
2 Answers
+ 2
It returns the lower case string. For instance:
>>> 'ABCgdefXYZ'.lower()
'abcgdefxyz'
The code you posted checks if the string contains ch.
+ 1
important