본문 바로가기

dartbird's wings

검색하기
dartbird's wings
프로필사진 dartbird

  • 분류 전체보기 (3)
    • Today I Learned (0)
    • Healing (0)
      • Pictures (0)
      • Drawing (0)
      • Diary (0)
    • Coding ( Lang ) (1)
      • Python3 (1)
      • Flutter (0)
      • Js + Html (0)
      • Go (0)
      • Java (0)
    • Coding ( Sub ) (1)
      • Vscode (0)
      • Github (1)
      • AI - Machine Learning (0)
      • AI - Deep Learining (0)
    • Toy Projects (0)
      • Musicrow (0)
      • Start With Music (0)
      • Flutter Today Weather (0)
      • Flutter Memory Status (0)
    • ETC (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
  • github
  • OSS
  • python3
  • contribution
  • coding
  • YOLOv5
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록coding (1)

dartbird's wings

[Python3] 여러개 리스트 변수를 for 문으로 다루기 (zip 사용)

여러개의 리스트를 같이 뽑아내면서 사용하고 싶으면 zip 을 사용하면 된다. 일반적인 코드 file_names = ['a', 'b', 'c'] file_extensions = ['.exe','.bat','.ppt'] count = 0 file_names_count = len(file_names) file_extensions_count = len(file_extensions) if file_names_count > OUTPUT a.exe b.bat c.ppt zip 을 이용한 코드 file_names = ['a', 'b', 'c'] file_extensions = ['.exe','.bat','.ppt'] for file_name, file_extension in zip(file_names, file_ext..

Coding ( Lang )/Python3 2022. 1. 15. 19:35
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바