[Python] Checkio Solution 解答 – Secret Message

Ever tried to send a secret message to someone without using the postal service? You could use newspapers to tell your secret. Even if someone finds your message, it's easy to brush them off and that its paranoia and a bogus conspiracy theory. One of the simplest ways to hide a secret message is to use capital letters. Let's find some of these secret messages.

閱讀更多

[Python] Checkio Solution 解答 – Three Words

Let's teach the Robots to distinguish words and numbers.

閱讀更多

[Python] Checkio Solution 解答 – Index Power

You are given an array with positive numbers and a number N. You should find the N-th power of the element in the array with the index N. If N is outside of the array, then return -1. Don't forget that the first element has the index 0.

閱讀更多

[Python] Checkio Solution 解答 – Fizz Buzz

"Fizz buzz" is a word game we will use to teach the robots about division. Let's learn computers.

閱讀更多

[Python] Checkio Solution 解答 – Long Repeat

This mission is the first one of the series. Here you should find the length of the longest substring that consists of the same letter. For example, line "aaabbcaaaa" contains four substrings with the same letters "aaa", "bb","c" and "aaaa". The last substring is the longest one which makes it an answer.

閱讀更多

[Python] Checkio Solution 解答 – Monkey Typing

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite length of time will almost surely type out a given text, such as the complete works of John Wallis, or more likely, a Dan Brown novel.

閱讀更多

[Python] Checkio Solution 解答 – House Password

Stephan and Sophia forget about security and use simple passwords for everything. Help Nikola develop a password security check module. The password will be considered strong enough if its length is greater than or equal to 10 symbols, it has at least one digit, as well as containing one uppercase letter and one lowercase letter in it. The password contains only ASCII latin letters or digits.

閱讀更多

[Python] Checkio Solution 解答 – Non-Unique Elements

You are given a non-empty list of integers (X). For this task, you should return a list consisting of only the non-unique elements in this list. To do so you will need to remove all unique elements (elements which are contained in a given list only once). When solving this task, do not change the order of the list. Example: [1, 2, 3, 1, 3] 1 and 3 non-unique elements and result will be [1, 3, 1, 3].

閱讀更多

[Python] Checkio Solution 解答 - The Most Wanted Letter

You are given a text, which contains different english letters and punctuation symbols. You should find the most frequent letter in the text. The letter returned must be in lower case.
While checking for the most wanted letter, casing does not matter, so for the purpose of your search, "A" == "a". Make sure you do not count punctuation symbols, digits and whitespaces, only letters.

閱讀更多

【樓雨晴】鴛鴦淚 - 簡單總結+感想

聲明:以下並不是全部都是本人自己的文字。大部分都是從樓雨晴的書、小說上面抄下來給大家看的。比如說“樓雨晴的介紹”就是她所有給讀者提供的內容簡介。 一切文章純粹以分享的心態給大家,並不是想要從中謀取任何利潤。如果喜歡,請自己購買樓雨晴的書,或者去圖書館借,甚至去本人給大家提供的網上小說網站去看她的故事都可以。樓雨晴是本人非常喜歡的一位作家。請大家尊重作家每一份作品。她們真的是嘔心瀝血去完成那些能夠帶動我們情感的作品。

閱讀更多

Copyright © Vantopics