Python
[파이써닉한 코딩] 헷갈리는 이중중첩문
교 향
2022. 10. 26. 17:04
new_words = [ word for word_list in words for word in word_list if len(word) > 4]
for i in v:
for j in i:
print(j)
[j for i in v for j in i]
출처: https://somjang.tistory.com/entry/Python-이중-for-문-한-줄로-작성하는-방법
출처: https://bigdaheta.tistory.com/14