본문 바로가기

Python/팁

파이썬 코테에서 팁

deepwelloper.tistory.com/69

 

[BOJ] 파이썬(Python) 주의사항 및 Tips

float, double 등의 부동소수점 자료형은 나타내는 수의 범위가 넓지만, 그 범위 안에 있는 모든 수를 정확하게 나타낼 수 있는 게 절대 아닙니다. 범위도 넓은데 원하는 수를 다 표현할 수도 있고

deepwelloper.tistory.com

deepwelloper.tistory.com/87

 

파이썬(Python) Tips and Tricks

1. 실행시간 측정하기 import time startTime = time.time() # 코드 작성 endTime = time.time() totalTime = endTime - startTime print("Total time required to execute code is= ", totalTime) 2. 두 개의 리..

deepwelloper.tistory.com

ooyoung.tistory.com/78

 

파이썬 find( ), index( ) 비교 / 인덱스, 위치를 찾는 함수(Python)

파이썬 find( ), index( ) - 순서 - 1.find / index 공통적인 내용 2.find / index 차이점 1. find( ), index( ) 공통적인 내용 1-1) 두 함수의 동일한 사용방법 '변수. find(찾을 문자)' / '변수. index(찾을 문..

ooyoung.tistory.com

 

'Python > ' 카테고리의 다른 글

파이썬 함수 호출 시 Call by Value Vs. Call by Reference  (0) 2021.02.01