How to Concatenate Two Lists in Python

The built-in data type List stores multiple items in a single variable. You can create lists using square brackets []. If you have two lists and you want to concatenate them, there are several methods you can use to do so. This tutorial will go through six of the...

How-to Guide for Python Uppercase

In Python, we can use built-in functions to manipulate strings. For example, we may want to capitalize the first characters in a name for form entry. The upper() function is helpful for converting all case-based characters in a string to uppercase. We can use the...

How to Compare Strings In Python

This tutorial will go through how to compare strings in Python with the help of code examples. Python String Refresher A string is a Python data type. A string is a list of characters in Unicode representation. Python deals with a string as an array of characters....

How to Solve Guide for Python AttributeError

We raise a Python AttributeError when we try to call or access an attribute of an object that does not exist for that object. This tutorial will go through what an attribute is, what the AttributeError is in detail, and we will go through four examples to learn how to...