Strings
Strings
Strings, print and its different types, How to use print as Debugger
Strings, print and its different types, How to use print as Debugger
Introduction:
Python uses strings, which are collections of characters, to represent text-based data. To work with strings, Python comes with a number of built-in functions and techniques. The print() method is one of Python's most utilized functio...
Strings Operations (split, strip, replace, count)
Strings Operations (split, strip, replace, count)
Introduction
In Python, we represent text data using strings, which are a fundamental data type. In this blog post, we'll talk about some basic Python string operations that can be used to modify strings and extract valuable data from them. Five op...
Ordered Data Structures in Python
Ordered Data Structures in Python
In Python, there are several built-in data structures that can be used to store and organize data. Two main categories of data structures are ordered and unordered data structures.
-
Ordered data structures:
An ordered data structure is a...
What are Mutable and Immutable Data Structures?
What are Mutable and Immutable Data Structures?
Mutable Data Structures:
A mutable data structure is a data structure whose state can be modified after it is created. This means that you can add, remove, or modify elements of the data structure without creating a new object.
Examples of m...
Difference Between Mutable and Non Mutable Data Structures
Difference Between Mutable and Non Mutable Data Structures
Mutable
A mutable data structure would be like a whiteboard where you can easily erase and modify the content on it. You can write new information, change existing information, or even completely erase everything and start over. An example of ...
What are Homogenous and Heterogenous Data Structures
What are Homogenous and Heterogenous Data Structures
Let's imagine that you are organizing your closet. You have a collection of clothes that you want to store in a particular way.
A homogeneous data structure would be like organizing your clothes by their type. You group all the t-shirts together, all...
Difference Between Heterogeneous and Homogeneous Data Structures
Difference Between Heterogeneous and Homogeneous Data Structures
The main difference between heterogeneous and homogeneous data structures in Python is that heterogeneous data structures can contain elements of different data types, while homogeneous data structures can only contain elements of the same data type. ...
Library
WEB DEVELOPMENT
FAANG QUESTIONS