본문 바로가기

Python_Matter/[Check_IO]Home

(22)
Date and Time Converter Quiz> 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. example Input: Date and time as a string Output: The same date and time, but in a more readable format Example: date_time("01.01..
Three Words Quiz> We have prepared a set of Editor's Choice Solutions. You will see them first after you solve the mission. In order to see all other solutions you should change the filter. train 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 ..
Home Map Congratulations! Your first island has been opened. Here you'll find slightly more complicated missions, but also more islands can become available for you. Enjoy! Between Markers https://py.checkio.org/en/mission/between-markers https://developer-ankiwoong.tistory.com/872 First Word https://py.checkio.org/en/mission/first-word https://developer-ankiwoong.tistory.com/873 Split List https://py.ch..
Backward Each Word Quiz> In a given string you should reverse every word, but the words should stay in their places. Input: A string. Output: A string. Example: backward_string_by_word('') == '' backward_string_by_word('world') == 'dlrow' backward_string_by_word('hello world') == 'olleh dlrow' backward_string_by_word('hello world') == 'olleh dlrow' Precondition: The line consists only from alphabetical symbols and..
Find Quotes Quiz> Your task at hand is to find all quotes in the text. And, as is already usual, do everything as quickly as possible :) You are given a string that consists of characters and a paired number of quotation marks. You need to return an Iterable consisting of the texts inside the quotation marks. But choose only quotes with double quotation marks ("). Single quotation marks (') aren’t appropria..
Count Digits Quiz> You need to count the number of digits in a given string. Input: A Str. Output: An Int. Example: count_digits('hi') == 0 count_digits('who is 1st here') == 1 count_digits('my numbers is 2') == 1 count_digits('This picture is an oil on canvas ' 'painting by Danish artist Anna ' 'Petersen between 1845 and 1910 year') == 8 count_digits('5 plus 6 is') == 2 count_digits('') == 0 def count_digit..
All the Same Quiz> We have prepared a set of Editor's Choice Solutions. You will see them first after you solve the mission. In order to see all other solutions you should change the filter. In this mission you should check if all elements in the given list are equal. Input: List. Output: Bool. Example: all_the_same([1, 1, 1]) == True all_the_same([1, 2, 1]) == False all_the_same(['a', 'a', 'a']) == True all..
Non-unique Elements Quiz> We have prepared a set of Editor's Choice Solutions. You will see them first after you solve the mission. In order to see all other solutions you should change the filter. If you have 50 different plug types, appliances wouldn't be available and would be very expensive. But once an electric outlet becomes standardized, many companies can design appliances, and competition ensues, creating ..