Hello, checkiomates🐱👤!
This week's digest explores the pursuit of mastery, featuring Simon Willison's take on verifying code correctness, the importance of embracing whitespace for readability, and a guide to essential Python skills. Our mission evolves: you must now extract hidden messages with a customizable starting index.
💡TIP
On Easy difficulty, each of the few starting stations is dedicated to a distinct data type. If you want to discover all CheckiO features, visit our tutorial. It's a longread, but it's worth it!
🏁 MISSION
Extraction II: Spy With a Head Start by freeman_lex -
The spy got trickier! Now, the secret message might start later in the string. Extend your function to accept the third parameter start with default value 0.
extraction("aqxczaqsgiunwoorkoaypablnea", 2, 3) == "casinoroyale"
extraction("PYTHON", 4, 1) == "YN"
extraction("mlhipvzeraqnfddlleetndoiie", 2, 1) == "liveandletdie"
📖 ARTICLES
Deliver Code You Have Proven to Work -
Simon talks about what it means to be a responsible developer in the age of AI tooling. In short: you’re still responsible for checking the code works regardless of who/what wrote it.
Well placed spaces and line breaks can greatly improve the readability of your Python code. Read on to learn how to write more readable Python.
How to Build the Python Skills That Get You Hired -
Build a focused learning plan that helps you identify essential Python skills, assess your strengths, and practice effectively to progress.
👩💻CODE SHOT
What do you think the following code does?
def checkio(values: list[int]) -> list[int]:
if not values: return []
res = [values[0]]
for i in values[1:]:
if i >= res[-1]:
res.append(i)
return res
🙌 Thanks for your attention! Hope to meet you at CheckiO, as well as at our Instagram and Twitter! We are really interested in your thoughts! Please, leave a comment below! ⤵