The Teclado Blog
  • Start Learning Python
  • Courses

Python Snippets

A collection of 27 posts

All Posts • Coding Interview Problems • Flask • GUI Development • Learn Python Programming • Python Snippets • REST APIs • Understanding the Console • Web Development
Quick Sequence Reversal in Python
Python Snippets

Quick Sequence Reversal in Python

Python lists have a handy method called reverse, but it's not always what we want. For a start, we can't use it on other sequence types, like tuples and strings, and it also

    Phil Best
    1 min read · Apr 29
More Uses for Else in Python
Python Snippets

More Uses for Else in Python

Get familiar with the different uses for else in Python. It's not just for if statements: we can use it with loops, and for error handling too!

    Phil Best
    2 min read · Apr 22
The Teclado Blog © 2025
Privacy Policy