목록파이썬 공부할때 꺼내볼것 (1)
studyplan
문자열 함수 find와 index 의 차이점 예시 / python / 파이썬
python = "Python is Amazing" print(" 0--------------------------------------") print(python. find("n")) print(" 1--------------------------------------") print(python. find("Python")) # 대문자 넣었을때 print(" 2--------------------------------------") print(python. find("python")) # 대문자 안 넣었을때 print(" 3--------------------------------------") print(python. find("java")) # 다른문자를 넣었을때 print(" 4----------..
파이썬 공부할때 꺼내볼것
2022. 3. 17. 16:56