본문 바로가기

Python_Matter

(328)
Python Learn the basics Quiz 80 Q> I believe that many of you have dealt with such a problem. (나는 당신들 중 많은 사람들이 그런 문제를 다루었다고 믿습니다.) One day you are working in the text editor, saving the document and closing it. (언젠가는 텍스트 편집기에서 문서를 저장하고 닫는 작업을하고 있습니다.) And the next day you are re-reading the text and realizing that one of the previous versions was better but there is no way to get it back. (그리고 그 다음날 당신은 텍스트를 다시 읽고 이전 버전 중 하나가..
Python Learn the basics Quiz 79 Q> Nicola takes a moment to study the ghosts. (니콜라는 잠시 유령을 연구합니다.) He is trying to think up a new method to determine just how old these ghosts are. (그는이 유령이 몇 살인지를 결정하는 새로운 방법을 생각하려고합니다.) He knows that their age is somehow related to their opacity. (그는 자신의 나이가 어떻게 든 불투명도와 관련이 있음을 알고 있습니다.) To measure their opacity Nikola uses a scale of 10000 units to 0 units, where 10000 is a completely opaque..
Python Learn the basics Quiz 78 Q> Hey, are you ready for a Scrabble game party? (Scrabble 게임 파티 준비 됐니?) You have a list of words and you have to find only one that is the most valuable among them. (당신은 단어 목록을 가지고 있으며, 그 중 가장 가치가있는 단어 하나만 찾아야합니다.) Rules: (규칙 :) The worth of each word is equivalent to the sum of letters which it consists of. (각 단어의 가치는 그것이 구성하는 문자의 합계와 같습니다.) The values of the letters are as follow: (글자의 값은 다음과..
Python Learn the basics Quiz 77 Q> How old are you in number of days? (며칠 째 몇 살입니까?) It's easy to calculate - just subtract your birthday from today. (계산하기 쉽습니다 - 오늘부터 생일을 빼십시오.) We could make this a real challenge though and count the difference between any dates. (우리는 이것을 진정한 도전으로 만들 수 있으며 어떤 날짜의 차이라도 세어 볼 수 있습니다.) You are given two dates as tuples with three numbers - year, month and day. (년, 월, 일 세 개의 숫자가있는 튜플로 두 개의 날짜가 부여..
Python Learn the basics Quiz 76 Q> You need to figure if a wellfounded and wellsized iterable is completely empty. (유망하고 잘 알려진 iterable이 완전히 비어 있는지 파악해야합니다.) An iterable x0 is wellfounded if there is no infinite sequence (무한 시퀀스가 ​​없다면 iterable x0을 잘 알고있다.) x1,x2,x3... such that ... in x3 in x2 in x1 in x0 (where in is meant iteratively, x(n+1) will be encountered while iterating through xn). (x1, x2, x3 ... 이와 같이 ... x0의 x1에서..
Python Learn the basics Quiz 75 Q> Nicola likes to categorize all sorts of things. (Nicola는 모든 종류의 것들을 분류하기를 좋아합니다.) He categorized a series of numbers and as the result of his efforts, a simple sequence of numbers became a deeply-nested list. (그는 일련의 숫자를 범주화하고 그의 노력의 결과로 단순한 숫자의 연속이 깊이 중첩 된 목록이되었습니다.) Sophia and Stephan don't really understand his organization and need to figure out what it all means. (소피아와 스테판은 자신의 조직을 정말로 이..
Python Learn the basics Quiz 74 Q> Sort the given iterable so that its elements end up in the decreasing frequency order, that is, the number of times they appear in elements. (주어진 iterable을 정렬하여 요소가 감소하는 빈도 순서로 끝나도록합니다. 즉 요소에 나타나는 횟수입니다.) If two elements have the same frequency, they should end up in the same order as the first appearance in the iterable. (두 요소의 빈도가 같으면 iterable의 첫 번째 모양과 동일한 순서로 끝나야합니다.) Input: Iterable (반복 ..
Python Learn the basics Quiz 73 Q> One day, on a typical spring afternoon, Sir Ronald has been looking around his land, riding a horse. (어느 날, 전형적인 봄 오후, Ronald 경은 말을 타고 그의 땅을 둘러 보았습니다.) Nothing foretold troubles, when suddenly Sir Ronald heard a scream for help, coming from somewhere nearby: (갑자기 Ronald 경이 근처 어딘가에서 오는 도움 소리를 듣자 갑자기 문제가 발생하지 않았습니다.) - "Help! Help!" - shouted a piercing young girl's voice. (- "도와 줘요!" - 피어싱 어린 ..