map a list

    0

    14

    Python public recipes

    map a list into something else

    Shortcut: list.map

    newlist = list(map(lambda x: x + 1, original_list))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.