Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for loop to convert a list to lowercase

s = ["hEllO","iNteRneT","pEopLe"]
for i in range(len(s)):
    s[i] = s[i].lower()
print(s)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #loop #convert #list #lowercase
ADD COMMENT
Topic
Name
5+6 =