일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Python
- C++
- flask
- codesingal
- 백준
- til
- 수 정렬하기
- 2015 봄학기 알고리즘
- Daily Commit
- data_structure
- 피보나치 수
- markdown
- centuryFromYear
- recursion
- collections.deque
- All Longest Strings
- cpp
- 2750
- 10953
- baekjun
- shapeArea
- codesignal
- Counting cells in a blob
- matrixElementsSum
- 파이썬머신러닝완벽가이드
- Sequential Search
- Numpy
- 파이썬 포렌식
- adjacentElementsProduct
- almostIncreasingSequence
Archives
- Today
- Total
Introfor
Complementary DNA 본문
1
2
3
|
def DNA_strand(dna):
complementary = {'A': 'T', 'T': 'A', 'C':'G', 'G': 'C'}
return ''.join(complementary[i] for i in dna[::1])
|
cs |
단순 변환 문제
'Programming_prob > Codewares' 카테고리의 다른 글
Persistent Bugger (0) | 2020.09.21 |
---|---|
Descending Order (0) | 2020.09.20 |
Who likes it (0) | 2020.09.20 |
Comments