Python Programs

Python Program to accept numbers from the user and Find the maximum and minimum element

Python Program to accept numbers and Find the maximum and minimum element of the numbers entered by the user Problem Definition: Write a Python Program to accept numbers from the user until the user enters done. Find the maximum and minimum elements of the numbers entered by the user. Use class and methods concepts. Program …

Python Program to accept numbers from the user and Find the maximum and minimum element Read More »

Python Program using classes and objects to deposit and withdraw money in a Bank Account

Python Program using classes and objects to deposit and withdraw money in a Bank Account Problem Definition: Write a Python program using classes and objects to deposit and withdraw money in a Bank_Account. This is just a demonstration program. Video Tutorial Source code of Python Program using classes and objects to deposit and withdraw money …

Python Program using classes and objects to deposit and withdraw money in a Bank Account Read More »

Python program that stores the student name, roll number, and marks in three subjects

Python program that stores the student name, roll number, and marks in three subjects Problem Definition: Write a Python program that has a class named Student that stores the student name, roll number, and marks in three subjects. Display the student information (Roll No, Name, and Total Marks scored) Video Tutorial Source code for Python …

Python program that stores the student name, roll number, and marks in three subjects Read More »

Python program to find the area and perimeter of a rectangle

Python program to find the area and perimeter of a rectangle Problem Definition: Write a python program that has a class named Rectangle with attributes length and breadth and two methods area and perimeter they return area and perimeter respectively. Video Tutorial: Program source code for Python program to find the area and perimeter of …

Python program to find the area and perimeter of a rectangle Read More »

Python program to keep track of the number of employees in an organization

Python program to keep track of the number of employees in an organization Problem Description: Write a python program to keep track of the number of employees in an organization and also store and display their name, designation, and salary details. Video Tutorial Program Description: As said in the problem definition, first create a class …

Python program to keep track of the number of employees in an organization Read More »

Python program to store and display the student name and marks of a student

Python program to store and display the student name and marks of a student Problem Definition: Write a python program to store and display the student name and marks of a student. Use the list to store the marks of a student in three subjects. Video Tutorial Program Description: As said in the problem definition, …

Python program to store and display the student name and marks of a student Read More »

Python Flask Interview Questions Part 5

Python Flask Interview Questions Part 5 Here you can find the most frequently asked Python Flask Interview Questions (Part 5) by many multi-national companies. 41) Explain database connection in Python Flask? Flask supports database powered application (RDBS). Such system requires creating a schema, which requires piping the shema.sql file into a sqlite3 command. So you …

Python Flask Interview Questions Part 5 Read More »