×
Home Discussions Write at Opengenus IQ
×
  • #7daysOfCode
  • C Interview questions
  • Linux 💽
  • 🔊 Data Structures
  • Graph Algorithms
  • Dynamic Programming 💑
  • Greedy Algo 📔
  • Algo Book 🧠
  • String Algo 🧬
  • Join our Internship 🎓
  • Home
Sonal Agrawal

Sonal Agrawal

Nagpur, Maharashtra •
6 posts •
Software Engineering

Learn to debug a Python program using PDB

In this article, we will learn to use Python's inbuilt debugger, PDB and do various things with it and use it to find a bug in a real program and resolve it

Sonal Agrawal Sonal Agrawal
Software Engineering

How to handle Exceptions in Python?

We should handle the exception and prevent the program from crashing and this is supported in Python. We will learn about try except block, the optional else block and Finally block which makes sure a code section runs irrespective of exceptions.

Sonal Agrawal Sonal Agrawal
Software Engineering

Explaining Classes in Python by designing a Dog

Classes are the building blocks of object oriented programming and since python is an object oriented language it supports classes implicitly. Classes give us a way to model real world objects. They combine data and functions into one entity.

Sonal Agrawal Sonal Agrawal
Python

Range Function in Python

Range is an inbuilt function in python that is generally used to create a sequence of numbers. It can accept upto three arguments to modify the output accordingly We will look into its functionalities and any limitations that range has. Let's start from basics and build up our understanding of range

Sonal Agrawal Sonal Agrawal
Python

Reading and Writing Text Files in Python

This post will cover how to work with text files specifically in Python. We covered Opening a file, Reading a file: read() and readlines(), Writing to files, keeping track of pointers: tell() and seek(), Closing a file and File attributes

Sonal Agrawal Sonal Agrawal
Python

if else statement in Python

We will take a deep look into if else, else if (elif), nested if else and the possible condition statements used in if else in Python. if else is a program control statement and is widely used in almost all programming languages

Sonal Agrawal Sonal Agrawal
×

Visit our discussion forum to ask any question and join our community

View Forum
OpenGenus IQ © 2021 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter