Bernard Aybouts - Blog - MiltonMarketing.com

Learn about Python Sets (lists)

By |April 15, 2018|Python, Computer Programming Languages|

Learning About Python Sets Introduction to Sets Sets are a type of list in Python, but with a twist: they do not allow duplicate entries. This makes sets perfect for collecting unique items. Let's start with an example. Example: Removing Duplicates Imagine you want to collect a list of words used in a[ ► ]

Python Basic String Operations

By |April 7, 2018|Python, Computer Programming Languages|

Python Basic String Operations Tutorial In this tutorial, we will explore the basics of string operations in Python. Strings are sequences of characters enclosed within quotes. Python allows you to perform various operations on strings, such as slicing, indexing, and formatting. Defining Strings Strings can be defined using single or double quotes: astring[ ► ]

Go to Top