In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly talks about "what are the interesting challenges of Python". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the interesting challenge topics of Python"?
The first question
This question can only be regarded as a warm-up question, and there is a prompt below, "Hint: try to change the URL address."
In fact, the answer is to use the result of 2 to the power of 38 as the entrance link to the next question, because 2 percent 38 equals 274877906944, so the link address of the second question is the link to this question.
Replace http://www.pythonchallenge.com/pc/def/0.html with: question 2 of http://www.pythonchallenge.com/pc/def/274877906944.html
When you open the link, you will be redirected to a new page, which appears as follows:
The information provided in the picture should be similar to Caesar encryption, K-> MMagol O- > QMagol E-> G, which means that each letter has moved 2 bits to the right, you can guess a-> c-> e, … X-> z, y-> a minute z-> b, and there is also a string of encrypted prompts. In order to get the correct answer, we have to decrypt this string.
The decryption algorithm can be obtained by implementing it in code first:
Def decrypt (c):
Return chr (ord (c) + 2)-ord ('a')) 26 + ord ('a'))
Decrypt the encrypted string to get:
> > s = ""
Everybody thinks twice before solving this.
G fmnc wms bgblr rpylqjyrc gr zw fylb. Rfyrq ufyr amknsrcpq ypc dmp. Bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. Sqgle qrpgle.kyicrpylq () gq pcamkkclbcb. Lmu ynnjw ml rfc spj.
"
> result = ""
> for c in raw:
... If c > ='a 'and c
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.