파이썬 300제 21~30 개인 기록용 https://wikidocs.net/7022 021 ~ 030 .answer {margin-top: 10px;margin-bottom: 50px;padding-top: 10px;border-top: 3px solid LightGray ... wikidocs.net 21. "python"이 바인딩하는 문자열에서 첫번째와 세번째 문자 출력 답 : a="python" print(a[0], a[2]) 22. 자동차 번호가 "24가 2210"일 때 뒤에 4자리만 출력 답 : a="24가 2210" print(a[-4:]) 23. "홀짝홀짝홀짝" 문자열에서 "홀"만 출력 답 : a="홀짝홀짝홀짝" print(a[::2]) //시작인덱스:끝인덱스:간격(step) 24. "PY..