A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, dad, mum and toot. There are also numeric …
Python
-
In this example we look at how you can get the difference between two dates in days. There are a couple of ways of doing this but by far the …
-
In this article we show how to count odd and even elements in a list We will show 2 methods of doing this Example 1 Method 1 uses a for …
-
In this article we show 2 ways of replacing characters in a string using python Example 1 This first example lets the user enter a test string, a character to …
-
In this article, we will show you how to add two lists in python. There are a few ways to add two lists of elements in python. We will show …
-
In this example we show you 2 examples of finding the smallest and largest numbers in a list Example 1 In this example we use the min and max functions …
-
In this example we will get a length of a list in python Example 1 In this Python list length example, we declare an empty one. We then use the …
In this article we show how to count positive and negative elements in a list We will show 2 metjods of doing this Example 1 Method 1 uses a for …
In this article, we show you how to capitalize the first letter of each word of a string in python. We will show you 2 examples of how to do …