Advertisement
Dprogrammed1

python que 26

Jun 10th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. def to_upper(k):
  2.     k.upper()
  3. x = ['ab', 'cd']
  4. print(list(map(to_upper, x)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement