## Bubble Sort in list Program in Python

Python Code: a=[6,4,8,3,9,76,45,32,90,108] n=len(a) for i in range(n-1,-1,-1):     for j in range(i):         if(a[j] &… Read more

## Sequential Search in list Program in Python

Python Code: abc=[1,2,3,4,5] n=len(abc) loc=-1 item=int(input("enter item ")) for i in range(n):   if(item == abc… Read more

## Selection Sort in list Program in Python

Python Code: nums=[6,7,5,4,8,3,567,456,46,43,542,5,4525,65,6,3677,3,676,32,7] n=len(nums) for i in range(n):     minpos=i  … Read more

## Guess Number Game in Python

Python Code: import random print("Welcome to the Game") print("i will pick a number from 1 to 100, you have … Read more

## 3 Python Projects For Beginners

Python There are two types of learning active learning and Passive learning.  Passive learning is when you only receive the i… Read more

## Dice Game Program in Python

Python Code: import random win=0 loose=0 x=0 while(x<10):     d1=random.randint(1,6)     d2=random.randint(1,6)  … Read more

## Dice Game Two Players Program in Python

Python Code: import random win1=0 win2=0 loose1=0 loose2=0 x=0 while(x<5):     d1=random.randint(1,6)     d2=ran… Read more

## Simple Bank through class Program in Python

Python Code: class Account:     def __init__(self,account_holder,amount):         self.account_holder = account_holder  … Read more

## Binary Search Program in Python

Python Code: abc=[1,2,3,4,5,6,7,8,9,10] n=len(abc) loc=-1 mid=round((1+n)/2) item=int(input("enter item ")) … Read more

## Swap Program in Python

Python Code: class abc:     def __init__(self):         self.n=20         self.m=50     def swap(self):         temp=… Read more