Posted in python very small program assignments

Remove Words in Python

Today, we will see how to remove a sub-string or word in Python from a string or sentence. We will use replace() method from Python,…

Continue Reading
Python Games Code | Copy and Paste
Posted in allcategorites game in python

Python Games Code | Copy and Paste

Hello friends, today, we will see all the Python games code which you can easily copy and paste into your system. We will see many…

Continue Reading
Posted in allcategorites python simple programs

Sum of n numbers in Python using for loop

Here, in the sum of n numbers in Python using for loop, n means a natural number i.e. counting numbers(1, 2, 3, 4, 5,…). Code…

Continue Reading
Customer Behaviour Analysis - Machine Learning and Python
Posted in allcategorites Machine Learning ml ai ds project

Customer Behaviour Analysis – Machine Learning and Python

Introduction A company runs successfully due to its customers. Understanding the need of customers and fulfilling them through the products is the aim of the…

Continue Reading
Posted in allcategorites competitive programming

A company is repainting its office – HackerRank Solution

Problem You can find the problem statement here. Explanation Subarrays with a sum less than or equal to 7 are Length 1 – [2], [3],…

Continue Reading
Posted in python very small program assignments

Print Digit 9 in Python | Assignment Expert

Code to print digit 9 in Python is: Output: Also Read:

Continue Reading
Posted in python very small program assignments

First Prime Number in Python | Assignment Expert

The prime number means a number that is divisible by itself and 1 only e.g. 2, 3, 5, 7, 11, 13, etc. So, the first…

Continue Reading
Posted in python very small program assignments

Simple Calculator in Python

This is a simple calculator in Python, we have used the eval() method from Python to calculate all expressions. This method takes an expression in…

Continue Reading
Posted in allcategorites python very small program assignments

Average of Given Numbers in Python

We will use a list to save numbers and will find the average of given numbers in the list. We know that to find the…

Continue Reading
Maximum Product Subarray
Posted in allcategorites competitive programming data structures and algorithms

Maximum Product Subarray in O(N) Time – Leetcode Solution

Hi everyone! In this post, we are going to discuss a very famous DSA problem known as the Maximum Product Subarray. It is a leetcode…

Continue Reading