본문 바로가기

Python_Matter

(328)
Python Learn the basics Quiz 72 Q> Every true traveler must know how to do 3 things: fix the fire, find the water and extract useful information from the nature around him. (모든 진정한 여행자는 3 가지 방법을 알아야합니다. 화재를 해결하고 물을 찾아 주위의 자연에서 유용한 정보를 추출하십시오.) Programming won't help you with the fire and water, but when it comes to the information extraction - it might be just the thing you need. (프로그래밍은 화재와 물에 도움이되지 않지만 정보 추출에 있어서는 필요한 것일 수 있..
Python Learn the basics Quiz 71 Q> There are four substring missions that were born all in one day and you shouldn’t be needed more than one day to solve them. (하루에 모두 태어난 네 개의 하위 문자열 임무가 있으며이를 해결하기 위해 하루 이상을 필요로하지 않아야합니다.) All of those mission can be simply solved by brute force, but is it always the best way to go? (모든 임무는 짐승들에 의해 간단히 해결 될 수 있지만, 항상 최선의 방법입니까?) (you might not have access to all of those missions yet, but the..
Python Learn the basics Quiz 70 Q> You prefer a good old 12-hour time format. (좋은 12 시간 형식을 선호합니다.) But the modern world we live in would rather use the 24-hour format and you see it everywhere. (그러나 우리가 살고있는 현대 세계는 오히려 24 시간 형식을 사용하고 어디에서나 볼 수 있습니다.) Your task is to convert the time from the 24-h format into 12-h format by following the next rules: - the output format should be 'hh:mm a.m.' (for hours before midday) or 'hh:mm..
Python Learn the basics Quiz 69 Q> I start to feed one of the pigeons. (나는 비둘기 중 하나를 먹이기 시작한다.) A minute later two more fly by and a minute after that another 3. (1 분 후 2 분이 지나면 3 분이 지나고 1 분 후에 다시 날아간다.) Then 4, and so on (Ex: 1+2+3+4+...). (그 다음 4 분 (예 : 1 + 2 + 3 + 4 + ...).) One portion of food lasts a pigeon for a minute, but in case there's not enough food for all the birds, the pigeons who arrived first ate first. (음식의 일..
Python Learn the basics Quiz 68 Q> Almost everyone in the world knows about the ancient game Chess and has at least a basic understanding of its rules. (세계의 거의 모든 사람들이 고대 게임 체스에 대해 알고 있으며 최소한 규칙을 이해하고 있습니다.) It has various units with a wide range of movement patterns allowing for a huge number of possible different game positions (for example Number of possible chess games at the end of the n-th plies.) For this mission, we wi..
Python Learn the basics Quiz 67 Q> A median is a numerical value separating the upper half of a sorted array of numbers from the lower half. (중앙값은 정렬 된 숫자 배열의 위쪽 절반을 아래쪽 절반에서 분리하는 숫자 값입니다.) In a list where there are an odd number of entities, the median is the number found in the middle of the array. (홀수의 엔티티가있는 목록에서 중앙값은 배열의 중간에있는 번호입니다.) If the array contains an even number of entities, then there is no single middle value, ..
Python Learn the basics Quiz 66 Q> Roman numerals come from the ancient Roman numbering system. (로마 숫자는 고대 로마 넘버링 시스템에서 왔습니다.) They are based on specific letters of the alphabet which are combined to signify the sum (or, in some cases, the difference) of their values. (그들은 알파벳의 특정 문자를 기반으로하여 그 값의 합 (또는 어떤 경우에는 차이)을 나타냅니다) The first ten Roman numerals are: (처음 10 개의 로마 숫자는 다음과 같습니다.) I, II, III, IV, V, VI, VII, VIII, IX, and X...
Python Learn the basics Quiz 65 Q> Let's continue examining words. (단어를 계속해서 살펴 봅시다.) You are given two string with words separated by commas. (단어가 쉼표로 구분 된 두 개의 문자열이 제공됩니다.) Try to find what is common between these strings. (이 문자열들 사이에 공통점이 있는지 찾으십시오.) The words are not repeated in the same string. (단어는 동일한 문자열에서 반복되지 않습니다.) Your function should find all of the words that appear in both strings. (함수는 두 문자열에 나타나는 모든 단어를 찾아야합니다..