Simple python Programs

Python Program to read five characters which start with ‘a’ and end with ‘z’

Download Final Year Projects   [wptelegram-join-channel] Write a python program to read a string with five characters that start with ‘a’ and end with ‘z’ Problem Definition: Write a program that reads a string with five characters that starts with ‘a’ and ends with ‘z’. Print search successful if pattern match found. Video Tutorial Source …

Python Program to read five characters which start with ‘a’ and end with ‘z’ Read More »

Python Program to Count number of words, digits, uppercase, lowercase letters

Download Final Year Projects   [wptelegram-join-channel] Python program to count the number of words, digits, uppercase letters, and lowercase letters Problem Definition: Develop a Python program that accepts a sentence and find the number of words, digits, uppercase letters, and lowercase letters. Video Tutorial Source Code to Python program to count the number of words, …

Python Program to Count number of words, digits, uppercase, lowercase letters Read More »

Python program to call function collatz() until it returns 1

Download Final Year Projects   [wptelegram-join-channel] Python program to call function collatz() to return number//2 or 3*number+1 until it returns 1 Problem Definition: Develop a python program to create a function called collatz() which reads as a parameter named number. If the number is even it should print and return number//2 and if the number …

Python program to call function collatz() until it returns 1 Read More »

Detect objects using Python – Machine Learning

Download Final Year Projects   [wptelegram-join-channel] Python program to Detect and Count objects – Machine Learning Project Write a python program to Detect and Count common objects in a given image – it’s a simple machine learning project. Video Tutorial Installing Necessary Libraries to Detect and Count common objects Following libraries are required to Detect …

Detect objects using Python – Machine Learning Read More »

Python program to find area of cone circle using inheritance

Download Final Year Projects   [wptelegram-join-channel] Python program to find the area of cone circle using inheritance Write a python program with Abstract Class Shape. Cone and Circle are the two classes that derive properties from shape. Also, find the area of the circle and Cone using Inheritance in Python. Video Tutorial Source Code to …

Python program to find area of cone circle using inheritance Read More »

Python program to Overload operators +, – and >=

Download Final Year Projects   [wptelegram-join-channel] Python program to Overload operators +, – and >= Write a class Money with attributes Rupees and Paise. Overload operators + (addition of objects), – (subtraction of objects), and >=(comparing objects) so that they may be used on two objects. Also write functions so that a desired amount of …

Python program to Overload operators +, – and >= Read More »

File Handling in Python

Download Final Year Projects   [wptelegram-join-channel] File Handling in Python Video Tutorial Following are files used for demonstration: file1.txt, file2.txt, and file3.txt File Handling in Python¶ In [ ]: fp = open("file1.txt") for line in fp: #line = line.rstrip() print (line, end = '') In [9]: fp = open("file1.txt") for line in fp: line = line.rstrip() print (line) …

File Handling in Python Read More »

Python program to read numbers find the Maximum Minimum

Download Final Year Projects   [wptelegram-join-channel] Python program to read numbers repeatedly find the total, an average of numbers Develop a program that repeatedly reads numbers until the user enters “done”. Once “done” is entered, print out the maximum and minimum of the numbers. If the user enters anything other than a number, detect their …

Python program to read numbers find the Maximum Minimum Read More »