Python

[파이썬] for문에서 리스트 2개 한번에 돌리기

bornsoon 2024. 8. 14. 12:09

*** zip 함수 활용하기 ***

for i, j in zip(lst1, lst2):
	print(i ,j)

 

 

728x90