목록분류 전체보기 (185)
yuns
programmers https://programmers.co.kr/learn/courses/4008/lessons/12729 import string string.ascii_lowercase # 소문자 abcdefghijklmnopqrstuvwxyz string.ascii_uppercase # 대문자 ABCDEFGHIJKLMNOPQRSTUVWXYZ string.ascii_letters # 대소문자 모두 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ string.digits # 숫자 0123456789
프로그래머스 https://programmers.co.kr/learn/courses/4008/lessons/13168 문제를 풀어보자 문제 설명 base 진법으로 표기된 숫자를 10진법 숫자 출력해보세요. 입력 설명 입력으로는 공백으로 구분된 숫자가 두 개 주어집니다. 첫 번째 숫자는 num을 나타내며, 두 번째 숫자는 base를 나타냅니다. 출력 설명 base 진법으로 표기된 num을 10진법 숫자로 출력해보세요. 제한 조건 base는 10 이하인 자연수입니다. num은 3000 이하인 자연수입니다. 예시 12 3 5 444 5 124 처음에 푼 코드 num, base = map(int, input().strip().split(' ')) num = str(num) answer = 0 for idx, n..
num_list가 int타입일 경우에는 ' '.join(num_list)로 해주면 에러가 난다. 따라서 아래와 같이하면 된다 ' '.join(map(str, num_list))

https://pytorch.org/에 접속 자신에게 맞는 버전을 클릭 하면 command창이 뜬다! conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
s = [2, 3, 1, 5] sorted(range(len(s)), key=lambda k:s[k])

블로그 관리 홈 > 꾸미기 > 스킨 편집 메뉴 클릭 [html 편집]클릭 html에서 ctrl+f를 누른 뒤, 를 입력하면 아래와 같이 뜬다. 앞에 코드를 삽입한다.
하던 작업을 임시로 저장하고 싶을 때 사용 또는 다른 사람이 수정한 파일을 업데이트하기 전에 stash에 올려 놓은 뒤 pull을 이용하여 댕겨온 다음에 내 파일을 적용하기 git status 의 명령어를 입력할 경우 깃허브에 올라와 있는 파일과 비교하여 바뀐 부분에 대하여 설명 git stash git stash save 의 명령어를 실행하면 스택에 새로운 stash 생성 git stash list 여러 stash 명령어를 사용할 경우 목록을 한꺼번에 확인할 수 있음 git stash apply [stash 이름] 했던 작업을 다시 가져와서 적용함 git stash drop stash 제거하기 git stash pop stash를 적용과 함께 제거 git stash show -p | git apply ..

http://web.stanford.edu/class/cs224w/ Graph의 정의 Graphs: a general language for describing and analyzing entities with relations/interactions Network와 Graph의 종류 Networks (=Natural Graphs) Social Networks Communication and transactions Biomedicine Brain Connections Graphs Information/knowledge Software Similarity Networks Relational Structures Graphs: Machine Learning Complex domains have a rich r..