How to convert this nested for loop to list comprehension or map()

后端 未结 0 1834
难免孤独
难免孤独 2020-12-02 23:26

Rewrite this using list comprehension or map()

    for row in range(len(lst[0])):
        for col in range(len(lst[0][0])):
            avg = (lst[0][row][col         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题