Python Data Structures Articles

Sorted By: Most Recent
Lynn Kwong Lynn Kwong
Updated on September 29, 2025

How to Use JSON Schema to Validate JSON Documents in Python

In Python, we can use the JSON Schema library to validate a JSON document against a schema.

Image: Shutterstock / Built In
Daniella Meneses Daniella Meneses
Updated on September 18, 2025

Top 50 Python Interview Questions With Example Answers

Python is one of the most popular computer languages, and developers with skills in it remain in high demand. Here are some of the most common questions you can expect in your next interview.

Image: Shutterstock / Built In
Stephen Gossett Stephen Gossett
Updated on August 20, 2025

12 Data Science Programming Languages to Know

Python, R, SQL and more — check out the best programming languages for data science.

Image: Shutterstock
Bisola Olasehinde Bisola Olasehinde
Updated on July 31, 2025

How to Insert a Python Variable in a String

There are four common methods that will allow you to add Python variables in a string, including: the comma, the modulus operator, string format and f-strings. Here’s how they work.

Image: Shutterstock / Built In
Roman Davydov Roman Davydov
Updated on July 09, 2025

Best Practices for Python Development in Enterprise Environments

Python’s speed, scalability and security features make it ideal for enterprise environments. Our expert outlines some best practices.

Image: Shutterstock / Built In
Anthony Corbo Anthony Corbo
Updated on June 23, 2025

What Are Python Data Structures?

Python data structures are formats for organizing and storing different kinds of data in Python. The four main types of built-in Python data structures are lists, tuples, sets and dictionaries.

Image: Shutterstock / Built In
Peter Grant Peter Grant
Updated on May 29, 2025

How to Use Python Functions Effectively: 6 Tips to Know

Here are six things you need to know about using these powerful tools in order to write more Pythonic code.

Artturi Jalli Artturi Jalli
Updated on May 22, 2025

An Introduction to the With Statement in Python

The with statement in Python wraps the execution of a code block using the methods defined by a context manager. It's often used to replace a try-finally block with more concise code. Here's how and when to use the with statement in Python.

Image: Shutterstock / Built In
Anthony Corbo Anthony Corbo
Updated on May 22, 2025

What Are Python Algorithms?

A Python algorithm is a series of step-by-step instructions used to solve a problem or complete a calculation. Take a look at some of the main types of algorithms used in Python and how to write algorithms in Python.

Image: Shutterstock / Built In
Philip Wilkinson Philip Wilkinson
Updated on May 22, 2025

An Introduction to Python Linked List and How to Create One

A Python linked list is an abstract data type that presents a linear collection of data organized as nodes that then link to another node. Build your own with this guide. 

Image: Shutterstock / Built In