Python

coding challenge

[Solved] Merge Overlapping Intervals in Python, C/C++ and Java

Write a program to Merge Overlapping Intervals in Python, C/C++ and Java. Algorithm and solution explained with coding example.

coding challenge

Find an Index of Array Such that Sum of Left and Right Subarray is Equal

How to find an index of array such that sum of left and right subarray is equal? Split the array into equal sum subarray.

pytest

Python Testing with Pytest | Write Your First Unit Test

How to write test cases for python testing with pytest? Complete tutorial explained with detail examples.

Python

How to Draw the Indian Flag in Python?

[Complete Python flag code] How to draw Indian Flag in Python using matplotlib library?

Python

How to Get and Set Environment Variable in Python?

How to get and set environment variable in Python? Setting environment variable from file using getenv() and environ() methods from os module.

cpp

Program to Check and Print All Perfect Numbers in the Given Range

What is perfect number and how to check it using in C++, Java, Python? Write a program to find and print all perfect numbers in the given range.

Python

How to get the File Size in Python Program?

[Python Program] How to get the file size in Python? Read file size in bytes and human readable format. How to check if the file is empty or zero sized?

Python

Difference between index() and find() in Python

What is the difference Between index() and find() in Python? How to search sub string in Python string? ValueError: substring not found.

Python

[eBook] Cracking Python Interview | The Secrete to Land GOOD Job

Python Interview Questions and Answers Asked in Product Based Companies. How to crack Python interview?