Simple 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 element 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. Source code of Python Program using classes and objects to deposit and withdraw money in …

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) Source code for Python program that …

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 class named Rectangle with attributes length and beadth and two methods area and perimeter they return area and perimeter respectively. Program source code for Python program to find the area and perimeter of a rectangle class …

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. Program Description: As said in the problem definition, first create a class named Employee. …

Python program to keep track of the number of employees in an organization 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 »

Python Interview Questions Part 2

Python Interview Questions Part 2 Here you can find the most frequently asked Python Interview Questions (Part 2) by many multi-national companies. 11) What are the built-in type does python provides? There are mutable and Immutable types of Pythons built-in types. Mutable built-in types in Pytho Programming List Sets Dictionaries Immutable built-in types in Pytho …

Python Interview Questions Part 2 Read More »

error: Content is protected !!