Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- bitwise
- 종합
- 딥러닝
- 비트단위논리연산
- 산술연산
- 비교연산
- 기초 100제
- 선택실행구조
- 16진수
- 출력
- 논리연산
- 10진수
- 아스키코드
- 불 연산
- Docker
- 8진수
- 기초100제
- 입출력
- codeup
- 코드업
- OpenCV
- 불 자료형
- 2차원배열
- input()
- 파이썬
- 진수
- 2진수
- face recognition
- 문자열
- 반복실행구조
Archives
- Today
- Total
목록
728x90
반응형
SMALL
split() (2)
728x90
반응형
SMALL
DeepFlowest

문제 : 2개의 문자(ASCII CODE)를 입력받아서 순서를 바꿔 출력해보자. 답 : 코드 : https://github.com/Yearang-Lee/Algorithm/tree/master/CodeUp Yearang-Lee/Algorithm Contribute to Yearang-Lee/Algorithm development by creating an account on GitHub. github.com
알고리즘/코드업
2020. 2. 16. 21:26

문제 : 답 : 설명 : input 한 번에 값을 여러 개 입력 받으려면 split()을 사용해 공백을 기준으로 나눠주면 된다. 변수1, 변수2 = input().split() 변수1, 변수2 = input().split('기준문자열') 변수1, 변수2 = input('문자열').split() 변수1, 변수2 = input('문자열').split('기준문자열') 코드 : https://github.com/Yearang-Lee/Algorithm/tree/master/CodeUp Yearang-Lee/Algorithm Contribute to Yearang-Lee/Algorithm development by creating an account on GitHub. github.com
알고리즘/코드업
2020. 2. 16. 21:16
728x90
반응형
LIST