28 Sep 2022 Juliano Luiz Faccioni An Overview of Python List Methods Learn how to modify lists in Python using list methods – specialized operations that give you tons of flexibility. Python lists have a lot of functionality that you can leverage in your scripts. This includes common sequence operations like adding elements to a list, reordering elements, and counting the number of times a given element appears in a list. Collectively, these operations are called list methods. In this article, we will go through an overview of Python’s main list methods. Read more 7 Sep 2022 Juliano Luiz Faccioni How to Reverse a Range in Python Find out how to reverse a range in Python and learn more about the range(), reversed(), and sorted() functions. Early in your Python journey, you’ll start working with sequences and ranges. At some point, you may wonder ‘How would I get these values in the reverse order?’. If you think about it, we reverse ranges constantly: when we sort files in our computer from ascending to descending order, we effectively reverse their original order. Read more 8 Aug 2022 Juliano Luiz Faccioni Python Set Operations Explained With Examples Having a hard time wrapping your head around set operations in Python? This article will help you visualize and understand Python set operations! Python sets are useful data structures when you need to create and compare groups of elements. These tasks can be performed with set operations like union and intersection. However, using Python set operations may not be a straightforward task when you’re first starting out with Python itself. Read more 8 Jul 2022 Juliano Luiz Faccioni An Overview of Python String Methods Become a master of common Python string methods and level up your data manipulation skills! Python strings have a lot of functionality that you can leverage in your scripts. This includes common text operations like searching and replacing text, removing whitespace, or counting characters and words. Collectively, these functions are called Python string methods. In this article, we’ll go through an overview of the main string methods available for Python scripts. Read more 27 May 2022 Juliano Luiz Faccioni 5 Ways to Create a Dictionary in Python Want to step up your Python game? Learn how to create dictionaries in Python from many different sources, including reading from JSON files and combining two dictionaries. So, you've already figured out how to use dictionaries in Python. You know all about how dictionaries are mutable data structures that hold key-value pairs. You understand you must provide a key to the dictionary to retrieve a value. But you may not have realized dictionaries in Python come in all shapes and sizes and from all kinds of sources. Read more «« « 1 2 » »»