Ten quick programming exercises in Python — test your skills :)

Talk is cheap, show me the code 🙌

Photo by Antoine Dautry on Unsplash

Check if all the elements in a list are less than a number.

Order a list of strings by length.

Order a dictionary by key or value.

Convert a list of numbers in a list of strings.

Check if all the elements in a list are floats.

Reverse a list.

Select a random element from an iterator.

Create a dictionary from lists.

Select only names started with a vowel.

Make a dictionary counter from a list.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Written by Amanda Iglesias Moreno

Data Scientist at Statista | Expertise in Data Visualization, Geodata, AI & Machine Learning

No responses yet

What are your thoughts?