본문 바로가기

Python_Matter/Solve

(117)
Python Learn the basics Quiz 53 Q> "For centuries, left-handers have suffered unfair discrimination in a world designed for right-handers." ("수세기 동안, 왼손잡이는 우완 투수를 위해 설계된 세계에서 불공정 한 차별을 겪었습니다.") Santrock, John W. (2008). Motor, Sensory, and Perceptual Development. (모터, 감각 및 지각 발달.) "Most humans (say 70 percent to 95 percent) are right-handed, a minority (say 5 percent to 30 percent) are left-handed, and an indeterminate number ..
Python Learn the basics Quiz 52 Q> You are given an array with positive numbers and a number N. (양수와 수 N의 배열이 주어집니다.) You should find the N-th power of the element in the array with the index N. (배열의 N 번째 지수는 N입니다.) If N is outside of the array, then return -1. (N이 배열 외부에 있으면 -1을 반환합니다.) Don't forget that the first element has the index 0. (첫 번째 요소의 인덱스가 0임을 잊지 마십시오.) Let's look at a few examples: (몇 가지 예를 살펴 보겠습니다. ) - array ..
Python Learn the basics Quiz 51 Q> Let's teach the Robots to distinguish words and numbers. (로봇에게 단어와 숫자를 구별하도록 가르쳐 봅시다.) You are given a string with words and numbers separated by whitespaces (one space). (단어와 숫자가 공백으로 구분 된 문자열 (한 칸)이 주어집니다.) The words contains only letters. (단어에는 글자 만 들어 있습니다.) You should check if the string contains three words in succession. (문자열에 연속해서 세 단어가 포함되어 있는지 확인해야합니다.) For example, the string "star..
Python Learn the basics Quiz 50 Q> "Where does a wise man hide a leaf? In the forest. But what does he do if there is no forest? ... He grows a forest to hide it in." -- Gilbert Keith Chesterton ("나는 무엇을해야할지 모르지만 무엇을해야할지 모른다." - 길버트 키스 체스터 톤) Ever tried to send a secret message to someone without using the postal service? (우편 서비스를 사용하지 않고 누군가에게 비밀 메시지를 보내려고하십니까?) You could use newspapers to tell your secret. (당신은 당신의 비밀을 말하기 위..
Python Learn the basics Quiz 49 Q> This is an intro mission, the purpose of which is to explain how to solve missions on CheckiO and how to get the most out of solving them. (이것은 인트로 임무로서, CheckiO의 임무를 해결하는 방법과이를 해결하는 방법을 설명하는 것이 목적입니다.) When the mission is solved, one more station become available for you, containing more complex missions. (임무가 해결되면 더 복잡한 임무가 포함 된 하나의 역이 제공됩니다.) So this mission is the easiest one. (그래서이 임무는 가..
Python Learn the basics Quiz 48 Q> You are given an array of integers. (당신은 정수의 배열을받습니다.) You should find the sum of the integers with even indexes (0th, 2nd, 4th...). (짝수 인덱스 (0 번째, 2 번째, 4 번째 ...)가있는 정수의 합계를 찾아야합니다.) Then multiply this summed number and the final element of the array together. (그런 다음이 합계 된 수와 배열의 마지막 요소를 함께 곱하십시오.) Don't forget that the first element has an index of 0. (첫 번째 요소의 인덱스가 0임을 잊지 마십시오.) For an emp..
Python Learn the basics Quiz 47 Q> Let's work with numbers. (숫자로 작업 해 봅시다.) You are given an array of numbers (floats). 숫자 배열 (실수)이 주어집니다. You should find the difference between the maximum and minimum element. (최대 요소와 최소 요소의 차이점을 찾아야합니다.) Your function should be able to handle an undefined amount of arguments. (함수는 정의되지 않은 양의 인수를 처리 할 수 ​​있어야합니다.) For an empty argument list, the function should return 0. (빈 인수 목록의 경우 함수는 0을 반..
Python Learn the basics Quiz 46 Q> "Fizz buzz" is a word game we will use to teach the robots about division. ("Fizz buzz"는 로봇이 분단에 대해 가르치는 단어 게임입니다.) Let's learn computers. (컴퓨터를 배우자.) You should write a function that will receive a positive integer and return: (양의 정수를 반환하는 함수를 작성해야합니다.) "Fizz Buzz" if the number is divisible by 3 and by 5; (숫자가 3과 5로 나눌 수 있다면 "Fizz Buzz";) "Fizz" if the number is divisible by 3; (숫자가 3으로 나눌 ..