DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+6 =
Submit