Python

What are lists?

Aug 7,97

Similar to arrays in some other programming languages, lists in Python are used to store a set of elements under …

Read More

Concatenating strings

Aug 5,97

You can concatenate (combine) strings in Python using the plus sign. Consider the following example: name = 'Mike' surname = …

Read More

Search strings

Aug 5,97

There are many functions in Python to search strings for specific information. Here are some of them: count(value) – counts …

Read More

String functions

Aug 4,97

Python offers a lot of functions that enable you to modify strings. For example, there are functions to transform all …

Read More

Access individual characters

Aug 3,97

We’ve already learned that strings are made of a contiguous set of characters. You can access individual characters in a …

Read More

Escape characters

Aug 2,97

Let’s say that we want to print the path to the directory C:\nature. Consider what happens when we try to print …

Read More
Geek University 2022