본문 바로가기

Ankiwoong

(1836)
Python Learn the basics Quiz 86 Q> Your mission is to convert the name of a function (a string) from the Python format (for example "my_function_name") into CamelCase ("MyFunctionName"), where the first char of every word is in uppercase and all words are concatenated without any intervening characters. (당신의 임무는 함수의 이름 (문자열)을 Python 형식 (예 : "my_function_name")에서 CamelCase ( "MyFunctionName")로 변환하는 것입니다. 여기서 모든 단어의 첫 번째 문자는 대문자..
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..