본문 바로가기

Ankiwoong

(1841)
Python Learn the basics Quiz 56 Q> Your mission here is to create a function that gets a tuple and returns a tuple with 3 elements - the first, third and second to the last for the given array. (여기서 당신의 임무는 튜플을 얻고 주어진 배열의 첫 번째, 세 번째, 두 번째의 세 요소를 가진 튜플을 반환하는 함수를 만드는 것입니다.) Input: A tuple, at least 3 elements long. (최소한 3 요소 길이의 튜플.) Output: A tuple. (튜플.) Example: easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)) == (1, 3, 7) easy_unpack((..
Python Learn the basics Quiz 55 Q> You are given a string where you have to find its first word. (당신은 첫 단어를 찾아야 만하는 문자열을 받게됩니다.) This is a simplified version of the First Word mission. (이것은 First Word 임무의 단순화 된 버전입니다.) Input string consists of only english letters and spaces.(입력 문자열은 영문자와 공백으로만 구성됩니다.) There aren’t any spaces at the beginning and the end of the string.(문자열의 처음과 끝에는 공백이 없습니다.) Input: A string.(문자열) Output: A st..
Python Learn the basics Quiz 54 Q> You are given a positive integer. (양의 정수가 주어집니다.) Your function should calculate the product of the digits excluding any zeroes. (함수는 0을 제외한 자릿수를 계산해야합니다.) For example: The number given is 123405. (예 : 주어진 숫자는 123405입니다.) The result will be 1*2*3*4*5=120 (don't forget to exclude zeroes). (결과는 1 * 2 * 3 * 4 * 5 = 120입니다 (0을 제외하는 것을 잊지 마십시오).) Input: A positive integer. (양의 정수.) Output: The pro..
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..
Windows 10 1903 - Sandbox(샌드박스) 1. Windows Sandbox(샌드박스)- Windows 가상화 기능- 일회성 : 재 실행시 안에 내용 초기화- 보안성 : 하드웨어 기반 가상화)- 효율적 : 통합 커널 스케줄러 / 스마트 메모리 관리 / 가상 GPU 사용 2. Windows Sandbox 사양- Windows10 Pro 이상- Windows10 Enterprise Insider 빌드 18305 이상- AMD 64 아키텍처- Hyper-V 사용 가능(BIOS 에서 활성)- RAM 4GB 이상(권장 8GB)- HDD 1GB 이상(권장 SSD)- 듀얼코어 이상(권장 쿼드코어) 3. Windows Sandbox(샌드박스)설치 방법 윈도우키 > 제어판 프로그램 및 기능 Windows 기능 켜기 / 끄기 Windows 샌드박스 체크 > 확인 ..
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. (당신은 당신의 비밀을 말하기 위..