Skip to content
Header Logo Without Tag
Search
  • Home
  • Articles
    • Code
    • Blog
    • Meta
    • Teach
  • Series
  • Tags
  • About
    • Newsletter
    • Privacy Policy
    • Terms of Service
    • World Domination Checklist
    • Wall of Fame
    • Wall of Shame

Tag: Performance

link to How to Format a String in Python: Interpolation, Concatenation, and More

How to Format a String in Python: Interpolation, Concatenation, and More

In this article, we learn how to format a string in Python using a handful of techniques including concatenation and interpolation.

Continue Reading
link to How to Merge Two Dictionaries in Python: Comprehensions, Unpacking, and the Union Operator

How to Merge Two Dictionaries in Python: Comprehensions, Unpacking, and the Union Operator

Dictionaries by themselves are a great tool, but what if we have more than one? Today, we're going to learn how to merge two dictionaries in Python.

Continue Reading
link to How to Sort a List of Strings in Python: Sort, Sorted, and More

How to Sort a List of Strings in Python: Sort, Sorted, and More

Looking for a quick and dirty way to sort a list of strings in Python? Look now further than this The Renegade Coder tutorial which covers several methods.

Continue Reading
link to How to Get the Last Item of a List in Python: Iterable Unpacking and More

How to Get the Last Item of a List in Python: Iterable Unpacking and More

When you're playing around in Python, sometimes it's nice to be able to get the last item of a list. In this tutorial, we'll cover just that.

Continue Reading
link to How to Copy a List in Python: Slice, Copy, and More

How to Copy a List in Python: Slice, Copy, and More

Sometimes when we're using lists, we need to clone them, so we can modify them independently. Luckily, we'll cover several ways to copy a list in Python.

Continue Reading
link to How to Check if a List is Empty in Python: Type Flexibility and More

How to Check if a List is Empty in Python: Type Flexibility and More

Manipulating lists can be fun, but it can also lead to some frustrating bugs if we're not careful. After all, some lists are empty. Today, we'll learn how to check if a list is empty in Python.

Continue Reading
« PREV Page 1 … Page 3 Page 4 Page 5 Page 6 NEXT »

About Me

Welcome to The Renegade Coder, a coding curriculum website run by myself, Jeremy Grifski. If you like what you see, consider subscribing to my newsletter. Right now, new subscribers will receive a copy of my Python 3 Beginner Cheat Sheet. If newsletters aren't your thing, there are at least 4 other ways you can help grow The Renegade Coder. I appreciate the support!

Legal

The Renegade Coder is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.






Longest Active Series

  • Journey to a PhD (55)
  • Coding Tangents (45)
  • How to Python (42)
  • Sample Programs Repo News (20)
  • The Autodidact's Guide to Python (11)
  • Discord
  • GitHub
  • Newsletter
  • Patreon
  • Portfolio
  • YouTube
  • Statistics
© 2016-2025 Copyright The Renegade Coder