반응형
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 |
Tags
- Data HAzard
- 데이터 해저드
- pytest-pythonpath 설치 오류
- systolic array
- pyverilog 설치 오류
- AMBA
- CDC
- linux c 컴파일
- Pyverilog 튜토리얼
- DNN 가속기
- Makefile compile
- 남산업힐
- 컨벌루션 연산
- linux makefile 작성
- Pyverilog 설치
- gpgpu-sim
- makefile
- CUDA
- Pyvrilog tutorial
- DNN Accelerator
- 대구 반도체 설계기업 특화
- 이진수 곱셈 알고리즘
- Pyverilog 실행
- pygraphviz 설치 오류
- Design DNN Accelerator
- CLOCK GATING
- 딥러닝 가속기
- gcc 컴파일
- 클럭 게이팅
- linux c++ 컴파일
Archives
- Today
- Total
목록파이썬 endswith (1)
오늘은 맑음
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bWewrE/btq9fmH3WPm/Ynk58jTyaVukBSyODErmY0/img.png)
접두사, 접미사를 이용해서 문장에서 검색을 해보겠습니다. 사용되는 함수는 아래와 같습니다. 함수명 동작 s.startswith('keyword', start, end) 문자열 s가 keyword로 시작되는지 판별(bool type) 만약 start가 입력된다면 start부터 keyword로 시작되는지 판별 만약 end가 입력된다면 end지점까지 판별 s.endswith('keyword', start, end) 문자열 s가 keyword로 끝나는지 판별(bool type) start와 end는 startswith와 동일 memo에 "Have a nice day!"를 입력하고 startswith와 endswith를 테스트해보겠습니다. 첫 번째는 memo가 Have로 시작되는지 판별합니다. 두 번째는 문자열 ..
Language/Python
2021. 7. 10. 12:45