Photo by Jannis Brandt on Unsplash


Photo by Tudor Baciu on Unsplash


Photo by Carlos Alberto Gómez Iñiguez on Unsplash


Randomly organize list elements in a matter of seconds

Photo by Carl Heyerdahl on Unsplash
  • You may get a list of products from an API call
  • You may get a list of people from a database
  • You may get a list of items in an online store by reading from a CSV file
  • You may get a list of numbers from a range


Photo by Glenn Carstens-Peters on Unsplash


Upper case, lower case, swap case, and more

Photo by Goran Ivos on Unsplash

upper()


How to Find the Largest and Smallest Element in a list in Python

Photo by Giu Vicente on Unsplash


Photo by Peter Gombos on Unsplash

1. Using random.randint()


Photo by Manik Roy on Unsplash


Image source

1. Remind yourself that you are not the only one

Fatos Morina

Machine Learning Engineer | Let us connect on LinkedIn: https://www.linkedin.com/in/fatosimorina/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store