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

Series: How to Python

link to How to Perform a Reverse Dictionary Lookup in Python: Generator Expressions and More

How to Perform a Reverse Dictionary Lookup in Python: Generator Expressions and More

When it comes to dictionaries, looking up a value by key is easy, but what about the reverse? Today, we'll perform a reverse dictionary lookup in Python.

Continue Reading
link to How to Performance Test Python Code: timeit, cProfile, and More

How to Performance Test Python Code: timeit, cProfile, and More

Have you ever wondered how you can performance test you Python code? Luckily, I've compiled a short list of options which include timeit and cProfile.

Continue Reading
link to How to Print on the Same Line in Python: Print and Write

How to Print on the Same Line in Python: Print and Write

While Python is often convenient, sometimes it's not. For instance, it's unclear how you would print on the same line in Python. Luckily, we have the answer!

Continue Reading
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 Write a List Comprehension in Python: Modifying and Filtering

How to Write a List Comprehension in Python: Modifying and Filtering

After covering so many common problems, I thought it would be fun just to explore a chunk of syntax known as the list comprehension in Python.

Continue Reading
« PREV Page 1 … Page 3 Page 4 Page 5 Page 6 Page 7 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