Posts
기록
Cancel

URL https://programmers.co.kr/learn/courses/30/lessons/68644 문제 설명 정수 배열 numbers가 주어집니다. numbers에서 서로 다른 인덱스에 있는 두 개의 수를 뽑아 더해서 만들 수 있는 모든 수를 배열에 오름차순으로 담아 return 하도록 solution 함수를 완성해주세요. 제...

URL : https://programmers.co.kr/learn/courses/30/lessons/70128?language=python3 문제 설명 길이가 같은 두 1차원 정수 배열 a, b가 매개변수로 주어집니다. a와 b의 내적을 return 하도록 solution 함수를 완성해주세요. 이때, a와 b의 내적은 a[0] * b[0]...

URL : https://programmers.co.kr/learn/courses/30/lessons/68935 문제 설명 자연수 n이 매개변수로 주어집니다. n을 3진법 상에서 앞뒤로 뒤집은 후, 이를 다시 10진법으로 표현한 수를 return 하도록 solution 함수를 완성해주세요. 제한사항 n은 1 이상 100,000,000 ...

URL : https://www.hackerrank.com/challenges/symmetric-difference/problem Objective Today, we’re learning about a new data type: sets. Concept If the inputs are g...

URL : https://www.hackerrank.com/challenges/input/problem Code >>> input() 1+2 3 >>> company = 'HackerRank' >>> website = 'www.hackerrank.com' >>> inpu...

URL : https://programmers.co.kr/learn/courses/30/lessons/42586 문제 설명 프로그래머스 팀에서는 기능 개선 작업을 수행 중입니다. 각 기능은 진도가 100%일 때 서비스에 반영할 수 있습니다. 또, 각 기능의 개발속도는 모두 다르기 때문에 뒤에 있는 기능이 앞에 있는 기능보다 먼저 개발될 수 ...

URL : https://www.hackerrank.com/challenges/python-mod-divmod/problem One of the built-in functions of Python is divmod, which takes two arguments and and returns a tuple contai...

URL : https://www.hackerrank.com/challenges/map-and-lambda-expression/problem{target=”_blank”} Let’s learn some new Python concepts! You have to generate a list of the first N fib...

URL : https://www.hackerrank.com/challenges/calendar-module/problem The calendar module allows you to output calendars and provides additional useful functions for them. class calendar.TextCal...

판다스(Pandas) 컬럼과 행 길게 보기 1.1 판다스 컬럼과 행 길게 보기 import numpy as np import pandas as pd sample = pd.DataFrame(np.zeros((30,30))) sample 0 1 2 3 4 ...