본문 바로가기

Python_Matter/Solve

(117)
Python Learn the basics Quiz 45 Q> You have a table with all available goods in the store. The data is represented as a list of dicts. (상점에 사용 가능한 모든 상품이 들어있는 테이블이 있습니다. 데이터는 딕셔너리로 표시됩니다.) Your mission here is to find the TOP most expensive goods. (당신의 임무는 TOP에서 가장 비싼 물건을 찾는 것입니다.) The amount we are looking for will be given as a first argument and the whole data as the second one. (우리가 찾고있는 금액은 첫 번째 인수로 주어지며 전체 데이터는 두 번째 인수로 ..
Python Learn the basics Quiz 44 Q> You are given a string and two markers (the initial and final). You have to find a substring enclosed between these two markers. But there are a few important conditions: (문자열과 두 개의 마커 (초기 및 최종)가 주어집니다. 이 두 마커 사이에있는 부분 문자열을 찾아야합니다. 그러나 몇 가지 중요한 조건이 있습니다.) The initial and final markers are always different.(초기 및 최종 마커는 항상 다름) If there is no initial marker, then the first character should be co..
Python Learn the basics Quiz 43 Q> In this mission your task is to determine the popularity of certain words in the text. (이 임무에서 당신의 임무는 텍스트의 특정 단어의 인기를 결정하는 것입니다.) At the input of your function are given 2 arguments: the text and the array of words the popularity of which you need to determine. (함수의 입력에는 두 가지 인수가 제공됩니다. 텍스트와 단어의 배열을 결정해야합니다.) When solving this task pay attention to the following points: (이 작업을 해결할 때 다음 사항에주의..
Python Learn the basics Quiz 42 Q> You are given the current stock prices. You have to find out which stocks cost more. (현재 주식 가격이 주어집니다. 어떤 주식이 더 많이 들었는지 알아야합니다.) Input: The dictionary where the market identifier code is a key and the value is a stock price. (시장 식별자 코드가 키이고 값이 주가 인 딕셔너리.) Output: A string and the market identifier code. (문자열과 시장 식별자 코드.) Example: best_stock({ 'CAC': 10.0, 'ATX': 390.2, 'WIG': 1.2 }) == 'ATX' ..
Python Learn the basics Quiz 41 Q> You are given two strings and you have to find an index of the second occurrence of the second string in the first one. (두 개의 문자열이 주어지고 첫 번째 문자열에서 두 번째 문자열이 두 번째 나타나는 색인을 찾아야합니다.) Let's go through the first example where you need to find the second occurrence of "s" in a word "sims". ("sims"라는 단어에서 두 번째 "s"가 필요한 첫 번째 예제를 살펴 보겠습니다.) It’s easy to find its first occurrence with a function index ..
Python Learn the basics Quiz 40 Q>You are given a string where you have to find its first word.(당신은 첫 단어를 찾아야 만하는 문자열을 받게됩니다.)When solving a task pay attention to the following points:(작업을 해결할 때 다음 사항에주의하십시오.)There can be dots and commas in a string.(문자열에는 점과 쉼표가있을 수 있습니다.)A string can start with a letter or, for example, a dot or space.(문자열은 문자 또는 도트 또는 공백으로 시작할 수 있습니다.)A word can contain an apostrophe and it's a part of a wo..
Python Learn the basics Quiz 39 Q>For the input of your function, you will be given one sentence. You have to return a corrected version, that starts with a capital letter and ends with a period (dot).(함수의 입력을 위해, 당신은 한 문장을 받게 될 것입니다. 대문자로 시작하고 마침표 (점)로 끝나는 수정 된 버전을 반환해야합니다.)Pay attention to the fact that not all of the fixes are necessary. If a sentence already ends with a period (dot), then adding another one will be a mista..
Python Learn the basics Quiz 38 Q>We have prepared a set of Editor's Choice Solutions. You will see them first after you solve the mission. In order to see all other solutions you should change the filter.(우리는 Editor 's Choice Solutions 세트를 준비했습니다. 선교사를 해결 한 후에 그들을 먼저 볼 것입니다. 다른 모든 솔루션을 보려면 필터를 변경해야합니다.)In this mission you should write a function that introduce a person with a given parameters in attributes.(이 임무에서는 속성에 주어진 매개..