-
next는 공백을 기준으로 변수에 저장 nextline은 공백까지 포함해서 변수에 저장
EX) list=[(1,2),(2,1)] print(list[0][0]) => 1 print(list[0]) => (1,2)
준비물:랜툴,랜케이블,RJ45커넥터,탈피기 1. 탈피기에 선을넣은뒤 한바뀌돌려서 껍질을 벗겨준다 2. 양쪽모두한 모습 3. 꼬여있는 선들을 풀어준다 4. 띠주-주-띠녹-파-띠파-녹-띠갈-갈 순으로 정렬해준다(이때 선을 몆번 구부렸다 펴서 나란히 만들어준다) 5. 랜툴로 선을 가지런하게 짤라준다 6. 사진처럼 커넥터 의 평평한부분이 위로 가게 넣어준다 7. 랜툴로 한번 찍어주면 완성 테스터기로 확인한모습 끝
문자열 이 특정 문자열을 포함하는지 물어볼경우 사용 예) if "apple" in "apple pie" ->True
제한시간이 1초일때 N의 범위가500인 경우:시간복잡도가 O(N^3)인 알고리즘을 설게하면 문제 풀이가 가능 N의 범위가2000인 경우:시간복잡도가 O(N^2)인 알고리즘을 설게하면 문제 풀이가 가능 N의 범위가100000인 경우:시간복잡도가 O(N log N)인 알고리즘을 설게하면 문제 풀이가 가능 N의 범위가10000000인 경우:시간복잡도가 O(N)인 알고리즘을 설게하면 문제 풀이가 가능