본문 바로가기

Python_Matter

(328)
Python Learn the basics Quiz 112 Q> For the Robots the decimal format is inconvenient. (로봇의 경우 10 진수 형식은 불편합니다.) If they need to count to "1", their computer brains want to count it in the binary representation of that number. ("1"로 계산해야하는 경우, 컴퓨터의 두뇌는 해당 숫자의 이진 표현으로 계산하려고합니다.) You can read more about binary here. (여기서 바이너리에 대해 더 많이 읽을 수 있습니다.) You are given a number (a positive integer). (당신은 숫자 (양의 정수)를받습니다.) You should conve..
Python Learn the basics Quiz 111 Q> Computer date and time format consists only of numbers, for example: 21.05.2018 16:30 Humans prefer to see something like this: 21 May 2018 year, 16 hours 30 minutes Your task is simple - convert the input date and time from computer format into a "human" format. (컴퓨터 날짜 및 시간 형식은 숫자로만 구성됩니다 (예 : 21.05.2018 16:30). 인간은 다음과 같은 것을 선호합니다 : 2018 년 5 월 21 일, 16 시간 30 분 귀하의 작업은 간단합니다 - 입력 날짜와 시간을 컴퓨..
Python Learn the basics Quiz 110 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..
Python Learn the basics Quiz 109 Q> You're on your way to a board game convention. (보드 게임 컨벤션으로가는 중입니다.) Chances are there’ll be some stiff competition, so you decide to learn more about dice probabilities since you suspect you'll be rolling a lot of them soon. (기회가 있기 때문에 치열한 경쟁이있을 수 있으므로 곧 많은 돈을 굴릴 것으로 의심되므로 주사위 확률에 대해 자세히 알아보기로 결정했습니다.) Typically, when using multiple dice, you simply roll them and sum up all the result. (일반적..
Python Learn the basics Quiz 108 Q> The New Year is coming and you've decided to decorate your home. (새해가오고 당신은 집을 장식하기로 결정했습니다.) But simple lights and Christmas decorations are so boring, so you have figured that you can use your programing skills and create something really cool and original. (그러나 단순한 조명과 크리스마스 장식은 지루합니다. 그래서 당신은 당신의 프로그래밍 기술을 사용하고 정말 근사하고 독창적 인 것을 창조 할 수 있다고 생각했습니다.) Your task is to create the class Lamp() a..
Python Learn the basics Quiz 107 Q> “There’s nothing here...” sighed Nikola. ("여기 엔 아무것도 없어."니콜라가 한숨을 쉬었다.) “You’re kidding right? All treasure is buried treasure! It wouldn’t be treasure otherwise!” Said ("너 농담하는거야? 모든 보물은 보물에 묻혀있다! 그렇지 않으면 보물이되지 않을 것입니다! ") Sofia. “Here, take these.” She produced three shovels from a backpack that seemed to appear out of thin air. (소피아. "여기, 가져 가세요."그녀는 배낭에서 세 개의 삽을 만들었다.) “Where did you get-..
Python Learn the basics Quiz 106 Q> Stephen's speech module is broken. (스티븐의 연설 모듈이 고장났다.) This module is responsible for his number pronunciation. (이 모듈은 그의 번호 발음을 담당합니다.) He has to click to input all of the numerical digits in a figure, so when there are big numbers it can take him a long time. (그는 숫자의 모든 숫자를 입력하기 위해 클릭해야하므로 숫자가 클 때 시간이 오래 걸릴 수 있습니다.) Help the robot to speak properly and increase his number processing speed b..
Python Learn the basics Quiz 105 Q> Positive integers can be expressed as sums of consecutive positive integers in various ways. (양의 정수는 여러 가지 방법으로 연속적인 양의 정수의 합으로 표현 될 수 있습니다.) For example, 42 can be expressed as such a sum in four different ways:(a) 3+4+5+6+7+8+9, (b) 9+10+11+12, (c) 13+14+15 and (d) 42. (예를 들어, 42는 (a) 3 + 4 + 5 + 6 + 7 + 8 + 9, (b) 9 + 10 + 11 + 12, (c) 13 + 14 +15 및 (d) 42.) As the last solution (d) shows,..