Python using enumerate inside list comprehension

后端 未结 7 2300
滥情空心
滥情空心 2020-11-28 01:49

Lets suppose I have a list like this:

mylist = [\"a\",\"b\",\"c\",\"d\"]

To get the values printed along with their index I can use Python\

7条回答
提交回复
热议问题