본문 바로가기

Python_Matter/Solve

(117)
Python Learn the basics Quiz 85 Q> Long numbers can be made to look nicer, so let’s write some code to do just that. (긴 숫자가 더 멋지게 보이도록 만들 수 있습니다. 그러기 위해 코드를 작성해 봅시다.) You should write a function for converting a number to string using several rules. (여러 규칙을 사용하여 숫자를 문자열로 변환하는 함수를 작성해야합니다.) First of all, you will need to cut the number with a given base (base argument; default 1000). (우선, 주어진 기본 (기본 인수, 기본 1000)으로 번호를 잘라야합니다.) ..
Python Learn the basics Quiz 84 Q> The flocks of crows circled over the battlefield. (까마귀 무리가 전장을 돌았습니다. Many brave warriors have fallen in this battle, many have continued to fight. (많은 용감한 전사들이이 전투에 빠졌고 많은 사람들이 계속 싸웠습니다. ) "If this goes on, we’ll simply kill each other, and there will be no winners - we’ll all lose." - reflected Sir Ronald, watching a bleak picture in front of him. ("이것이 계속된다면, 우리는 단순히 서로를 죽일 것이며, 승자도 없을 것입니..
Python Learn the basics Quiz 83 Q> ...the clashes between different soldiers occurred here and there, and the new troops kept coming. (... 여러 군인 들간의 충돌이 여기저기서 발생했고 새로운 군대가 계속오고있었습니다.) The conflict gradually was starting to look more like a small war. (갈등은 점점 더 작은 전쟁처럼 보이기 시작했습니다. ) "Knights, hear my command! Take your shields! Strengthen the armor! We are taking too much beating," ("기사 들아, 내 명령을 들으 라! 방패를 잡아라! 갑옷을 강화하라! 너무 많이 ..
Python Learn the basics Quiz 82 Q> ..Sir Ronald’s opponent - Umbert, has proved to be a very skillful warrior. (.. Ronald의 상대 인 Umbert는 매우 숙련 된 전사로 판명났습니다.) In addition, he was a good fifteen years younger, which gave him a certain advantage. (또한, 그는 15 년 더 젊어서 그에게 약간의 이점을주었습니다.) But Sir Ronald was also very strong - he had the experience of participation in many battles and in several major wars behind his back. (그러나 로날드 경 또한..
Python Learn the basics Quiz 81 Q> Assuming you are developing a user based system like facebook, you will want to provide the functionality to search for other members regardless of the presence of accents in a username. (페이스 북과 같은 사용자 기반 시스템을 개발 중이라고 가정하면 사용자 이름에 액센트가 있는지 여부에 관계없이 다른 회원을 검색하는 기능을 제공하는 것이 좋습니다.) Without using 3rd party collation library, you will need to remove the accents from username before comparison. (타사..
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: (글자의 값은 다음과..