Common String Operations in Python

In the previous article we have seen some of the list operations and string operations in python. Now we will look at some more vital string operations, keywords or functions in Python. Transformation/Manipulation of Strings There are a number of fun methods that we can use to transform our string text. Among those more important for … Read more

Important Methods of Dictionaries in Python

In the previous article we have looked at the definition, structure and various ways to add or remove different aspects of the Dictionary data type. In this article, we will continue to explore more about the Dictionary data type in Python along with operations such as len( ), copy( ) ,items ( ), fromkeys ( … Read more

Geometric Progression in Python Code

In the previous article we have seen the implementation of Arithmetic Progression in Python, in this article we will similarly explore the Geometric Progression in Python, the concepts and the logic or the formulae we operate by. A geometric progression is a sequence of nonzero numbers, each term of which, starting from the second, is equal … Read more

Python File Handling Methods |Operations on Files in Python

This article focuses on working with files (input / output) in Python : opening, reading, writing, closing and other operations. A file is just a collection of data stored as a sequence of bits on a computer. The information is stored in a heap of data (data structure) and is named “filename”. There are two main … Read more

Errors and Exceptions in Python

It is a common occurrence to encounter errors or warnings while working with Python, or various different programming languages. These errors may occur due to a wide variety of reasons. The process of handling exceptions and errors in Python can significantly increase the resilience of program code to failures, due to which the program’s workflow … Read more