DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python change all values in nested list
my_string = [[None if y < 65 else y - 12 for y in x] for x in my_string]
Source by python-forum.io #
PREVIOUS
NEXT
Tagged:
#python
#change
#values
#nested
#list
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit