Are you wondering how to find the minimum and maximum values in a Python dictionary? Here you will find the answers you are looking for.

The easiest way to find the minimum or maximum values in a Python dictionary is to use the min() or max() built-in functions applied to…


Do you have to sort a list of tuples in your Python program? Are you trying to figure out if you should use sorted() or sort()? You are in the right place.

The first way to sort a list of tuples is by using the Python sorted() function that returns…


Knowing how to split a Python string is a skill to learn as a Python developer. Let’s see how you can split strings in multiple ways.

The Python string data type provides the split() method that allows to split a string into a list of strings. You can split a…


Does Python have a ternary operator? Yes it does!

In this tutorial you will learn everything about it so you can use it in your programs.

The Python ternary operator (or conditional expression) works on three operands and it allows to write the logic of an if else statement in…


Have you seen the syntax error “unexpected EOF while parsing” when you run a Python program? Are you looking for a fix? You are in the right place.

The error “unexpected EOF while parsing” occurs when the interpreter reaches the end of a Python file before every code block is…


Have you ever heard about the list comprehension in Python? It simplifies the way you work with lists and it makes your code more concise.

The list comprehension is a Python construct that reduces the lines of code required to generate a new list or to filter an existing list…


If you are getting started with Python one of the topics you will encounter soon are functions. Here is how you can start using them.

Python functions allow to make your code more readable and reusable. A function is a block of code that performs a specific operation or returns…


Are you considering learning coding and are you thinking about Python as a language? In this article I will answer some of the burning questions you might have.

Learning Python coding is one of the top skills in today’s IT industry. That’s because the Python programming language can be used…


The tuple is a basic Python data type. It’s important to understand it and to know how to use it. This tutorial will help you with that.

Python tuples are used to store an ordered sequence of values. Tuples are immutable, this means that the values in a tuple cannot…


If you haven’t used the Python zip() function yet this is an opportunity to look at how it works and how you can use it in your programs.

The Python zip() function takes as input multiple iterables and returns an iterator of tuples where the n-th tuple contains the n-th…

Claudio Sabato

I’m a Tech Lead, Software Engineer and Programming Coach. I want to help you in your journey to become a Super Developer!

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