본문 바로가기

IT 세계의 후아

검색하기
IT 세계의 후아
프로필사진 후__아

  • 전체 (55)
    • Coding (43)
      • Python (27)
      • Study (15)
      • Algorithm (1)
    • Recording (12)
      • NewsScrap (10)
      • 취준기록 (0)
      • Etc (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • 이중리스트
  • 리스트
  • Python
  • llm
  • dict
  • AI
  • 경제신문스크랩
  • langchain
  • rag
  • 생성형AI
  • 문자열
  • Ord
  • 파이썬
  • chr
  • 프로그래머스
  • listcomprehension
  • OpenAI
  • 백준
  • 랭체인
  • 데이콘경진대회
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록JOIN (1)

IT 세계의 후아

[python]join 함수

※ '구분자'.join(리스트) 리스트 → 문자열 li = ['apple', 'banana', 'kiwi'] print(''.join(li))# applebananakiwi print(' '.join(li))# apple banana kiwi # 프로그래머스 문자열 돌리기 # input(): "abcde" print('_'.join(x for x in input()))# a_b_c_d_e print('\n'.join(x for x in input().strip()))# print('\n'.join(input())) # 프로그래머스 문자열 섞기# aaaaa, bbbbb => ababababab def solution(str1, str2): return ''.join(x+y for x,y in zip(str..

Coding/Python 2024. 4. 17. 15:16
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바