There are two main ways to find the length of a string in Python. The first is to use the built-in len() function. Alternatively, if you do not want to use the len() function, you can use a...
Tag: Unicode
There are two main ways to sort a list of strings in Python - using the built-in sort() function and the built-in sorted() function. We'll discuss how to use each function in today's post and the...
In today's post, we'll learn 2 different ways to compare if two strings are equal in Python. We'll also learn to do other forms of comparisons (such as whether one string is greater than...
Python Tutorial: How to write a simple encryption/decryption program
Fancy sending a secret note to your friends/secret lover/spouse? In this Python tutorial, we are going to go through a simple program that allows you to do just that. Before we start, this tutorial...