본문 바로가기

Python_Matter/Solve

(117)
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,..
Python Learn the basics Quiz 104 Q> Each week you are meeting with your friends to spend some quality time together. (매주 당신은 당신의 친구들과 만나서 양질의 시간을 함께 보내고 있습니다.) Usually you're hanging out in a bar on Friday nights, or going out of town on Saturdays, or playing the board games on Sundays. (보통 금요일 밤에는 술집에서 놀고, 토요일에는 도시를 벗어나거나 일요일 보드 게임을합니다.) You want to simplify the process of gathering people and that's why you've decided to writ..
Python Learn the basics Quiz 103 Q> - Oh. This new generation of robots is trying to do everything faster than is needed. (오. 이 새로운 세대의 로봇은 필요한 것보다 더 빨리 모든 것을하려고합니다.) - Come on!! Gaffer! Can I just replace a string and that's all. (어서와! 두목! 문자열을 바꿀 수 있을까요?) - No, young man. You can’t “just replace a string”. (아니, 젊은 남자. 당신은 "그냥 문자열을 대체 할 수 없다".) You should respect your memory cards, even though you have a lot of them. (당신은 당신의 ..
Python Learn the basics Quiz 102 Q> You are given a list of points on a coordinate plane. (좌표 평면에 포인트 목록이 제공됩니다.) We need you find the convex hull formed by these points. (이 점들에 의해 형성된 볼록한 선체를 찾아야합니다.) The convex hull of a set X of points in the Euclidean plane is the smallest convex set that contains X. (유 클리 디안 평면에서 점 집합 X의 볼록한 선체는 X를 포함하는 가장 작은 볼록 집합입니다.) For instance: when X is a bounded subset of the plane, the convex hull..