# 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 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 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 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 circumference of Circle

Python program to find the area and circumference of Circle Problem Definition: Write a python program that has a class named Circle. Use a class variable to define the value of a constant PI. Use this class variable to calculate the area and circumference of a circle with the specified radius. Video Tutorial Source code …

## 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 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 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 Interview Questions Part 4

Python Interview Questions Part 4 Here you can find the most frequently asked Python Interview Questions (Part 4) by many multi-national companies. 31) Explain how can you access a module written in Python from C? You can access a module written in Python from C by the following method, Module==PyImport_ImportModule(“”); 32) Mention the use of …

## Python Interview Questions Part 3

Python Interview Questions Part 3 Here you can find the most frequently asked Python Interview Questions (Part 3) by many multi-national companies. 21) How can you copy an object in Python? To copy an object in Python, you can try copy.copy () or copy.deepcopy() for the general case. You cannot copy all objects but most …