본문 바로가기

Ankiwoong

(1836)
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..
Python Learn the basics Quiz 101 Q> There is a lunch place at your work with the 3 microwave ovens (Мicrowave1, Мicrowave2, Мicrowave3), which are the subclasses of the MicrowaveBase class. (MicrowaveBase 클래스의 하위 클래스 인 세 개의 전자 레인지 (전자 레인지 1, 전자 레인지 2, 전자 레인지 3)가 있습니다.) Every microwave can be controlled by a RemoteControl. The RemoteControl uses the next commands: (모든 전자 레인지는 RemoteControl로 제어 할 수 있습니다. RemoteControl은 다음 명령을 사용합..
Python Learn the basics Quiz 100 Q> In this mission you should write you own py3 implementation (but you can use py2 for this) of the built-in functions min and max. (이 임무에서 당신은 py3 구현을 작성해야한다 (그러나 py2는 이것을 사용할 수있다). 내장 함수 min과 max.) Some builtin functions are closed here: import, eval, exec, globals. Don't forget you should implement two functions in your code. (일부 내장 함수는 여기에서 닫힙니다 : import, eval, exec, globals. 코드에 두 가지 기능을 구..
Python Learn the basics Quiz 99 Q> We have an array of two positive integers. (우리는 두 개의 양의 정수 배열을 가지고 있습니다.) Add these two numbers together. (이 두 숫자를 합치십시오.) Input: A list of two elements. Each element is a positive integer. (두 요소의 목록입니다. 각 요소는 양의 정수입니다.) Output: The sum of two numbers. (두 숫자의 합입니다.) Example: checkio([5, 5]) == 10 checkio([7, 1]) == 8 checkio([5, 5]) == 10 A> def checkio(data): """The sum of two integer elemen..