일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- programmers
- regression
- 프로그래머스
- Boundary Layers
- FTCS
- 이중우선순위큐
- Python
- Crank-Nicolson
- Statistics
- Turbulent
- 파이썬
- 유체역학
- Heat Equation
- Laminar
- Compressible Flow
- heap
- projecteuler
- python3
- Finite Difference Method
- 디스크 컨트롤러
- Fluid Dynamics
- 통계학
- 프로젝트오일러
- 우선순위큐
- Blasius
- Fluids
- 힙
- 회귀
- Navier-Stokes
- 예제
- Today
- Total
목록Python (30)
Sudal's Garage
Question: n! means n × (n − 1) × ... × 3 × 2 × 1For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.Find the sum of the digits in the number 100! 문제:n! 이라는 표기법은 n × (n − 1) × ... × 3 × 2 × 1을 뜻합니다.예를 들자면 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800 이 되는데, 여기서 10!의 각 자리수를 더해 보면 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27 입니다.100! 의 자..
Question: By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.3 7 4 2 4 6 8 5 9 3That is, 3 + 7 + 4 + 9 = 23.Find the maximum total from top to bottom of the triangle below:75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03 34 88 02 77 73 07 63 67 99 65 04 28 06 16 70 92 41 41 26 56 83 40 80 70 33 41 48..
Question: If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? NOTE: Do not count spaces or hyphens. For example, 342 (three hundred and forty-two) contains 23 letters and 115 (one hundred and fi..
반복자에 관한 함수들이 들어있는 모듈: itertools Source: https://docs.python.org/3.7/library/itertools.html#itertools.groupby 무한 반복자:반복자인수결과예count()start, [step]start, start+step, start+2*step, …count(10) --> 10 11 12 1314 ...cycle()pp0, p1, … plast, p0, p1, …cycle('ABCD') --> A B C DA B C D ...repeat()elem [,n]elem, elem, elem, … endlessly or up to n timesrepeat(10, 3) --> 10 10 10Iterators terminating on the s..
Calendar 모듈은 파이썬에서 달력을 볼 수 있게 해준다. Calendar(n): n년도의 달력을 반환한다. >> print(calendar.calendar(2019)) 2019 January February MarchMo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 1 2 3 1 2 3 7 8 9 10 11 12 13 4 5 6 7 8 9 10 4 5 6 7 8 9 1014 15 16 17 18 19 20 11 12 13 14 15 16 17 11 12 13 14 15 16 1721 22 23 24 25 26 27 18 19 20 21 22 23 24 18 19 20 21 22 23 2428 29 30 31 25 2..