Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mapping in python string

# mapping function
def uppercase(u):
    return str(u.upper())

map_iterator = map(uppercase,['a','b','c'])
mylist = list(map_iterator)
print(mylist)
 
PREVIOUS NEXT
Tagged: #mapping #python #string
ADD COMMENT
Topic
Name
1+2 =