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 Brute Force Sort a List in Python: Bubble, Insertion, and Selection

How to Brute Force Sort a List in Python: Bubble, Insertion, and Selection

Sorting is a common topic in computer science, so figured I'd put together an article on how to sort a list in Python using some of the simpler approaches.

Continue Reading
link to How to Compare Strings in Python: Equality and Identity

How to Compare Strings in Python: Equality and Identity

In Python, if you want to compare strings, you need to understand the difference between equality and identity.

Continue Reading
link to How to Write a Loop in Python: While and For

How to Write a Loop in Python: While and For

If you're trying Python for the first time, it's a good idea to learn how to write a loop. Luckily, I've got you covered.

Continue Reading
link to How to Comment Code in Python: Inline, Multiline, and Docstring

How to Comment Code in Python: Inline, Multiline, and Docstring

How do you comment code in Python? Turns out there are three different ways, each with their own advantages and disadvantages.

Continue Reading
link to How to Add an Item to a List in Python: Append, Slice Assignment, and More

How to Add an Item to a List in Python: Append, Slice Assignment, and More

Whether or not you know how to add an item to a list in Python, you'll want to read this article just to learn about slice assignment. Trust me.

Continue Reading
link to How to Check if a String Contains a Substring in Python: In, Index, and More

How to Check if a String Contains a Substring in Python: In, Index, and More

One concept that threw me for a loop when I first picked up Python was checking if a string contains a substring. After all, in my first language, Java, the task involved calling a method like...

Continue Reading
« PREV Page 1 Page 2 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