Table of Contents
All Python Program in One Place
🔒 Please log in to unlock this course.
Related Assignments
Assignment 1
Write a program to accept two numbers from the user and calculate multiplication
Locked. Enroll to open this assignment.
Assignment 2
Python program to print Hello World
Locked. Enroll to open this assignment.
Assignment 3
Check file is empty or not
Locked. Enroll to open this assignment.
Assignment 4
Python program to swap two variables - By using arithmetic operators - Using…
Locked. Enroll to open this assignment.
Assignment 5
Writing text to a file using 'with' - Python Context Manager - Hands On
Locked. Enroll to open this assignment.
Assignment 6
Write a Python program that accepts the base and height of the triangle as…
Locked. Enroll to open this assignment.
Assignment 7
Python Files - 2 - Hands On
Locked. Enroll to open this assignment.
Assignment 8
Slice list into 3 equal chunks and reverse each chunk
Locked. Enroll to open this assignment.
Assignment 9
Python Program - to calculate factorial of a number using while loop
Locked. Enroll to open this assignment.
Assignment 10
Remove duplicates from a list and create a tuple and find the minimum and…
Locked. Enroll to open this assignment.
Assignment 11
Format variables using a string.format() method.
Locked. Enroll to open this assignment.
Assignment 12
Python program to swap two variables
Locked. Enroll to open this assignment.
Assignment 13
Python Decorators - 6 - Hands On
Locked. Enroll to open this assignment.
Assignment 14
Python Operators Example
Locked. Enroll to open this assignment.
Assignment 15
Python Files - 1 - Hands On
Locked. Enroll to open this assignment.
Assignment 16
Remove and add item in a list using python
Locked. Enroll to open this assignment.
Assignment 17
Write a program to calculate the product of two number inputted integers…
Locked. Enroll to open this assignment.
Assignment 18
Get all values from the dictionary and add them to a list but don
Locked. Enroll to open this assignment.
Assignment 19
Write a python program to take three names as input from a user in the single…
Locked. Enroll to open this assignment.
Assignment 20
Python program to swap two variables - By using arithmetic operators - addition…
Locked. Enroll to open this assignment.
Assignment 21
Python Decorators - 5 - Hands On
Locked. Enroll to open this assignment.
Assignment 22
Directly generates a list of random numbers using sample method
Locked. Enroll to open this assignment.
Assignment 23
Match Pattern and Replace - Hands On
Locked. Enroll to open this assignment.
Assignment 24
Create a list by picking an odd-index items from the first list and even index…
Locked. Enroll to open this assignment.
Assignment 25
Write a program to print square root of every alternate number in the range 1…
Locked. Enroll to open this assignment.
Assignment 26
Iterate a given list and check if a given element exists as a key
Locked. Enroll to open this assignment.
Assignment 27
Write all content of a given file into a new file by skipping line number 5
Locked. Enroll to open this assignment.
Assignment 28
Python program to swap two variables -By using XOR method
Locked. Enroll to open this assignment.
Assignment 29
Python Decorators - 4 - Hands On
Locked. Enroll to open this assignment.
Assignment 30
Generate a list of random numbers in python
Locked. Enroll to open this assignment.
Assignment 31
Higher order functions and closures - 2 - Hands On
Locked. Enroll to open this assignment.
Assignment 32
What is the output of the following code?
Locked. Enroll to open this assignment.
Assignment 33
Write a program to print cubes of numbers in the range 10 to 18
Locked. Enroll to open this assignment.
Assignment 34
Checks if one set is a subset or superset of another set. If found, delete all…
Locked. Enroll to open this assignment.
Assignment 35
Accept a list of 5 float numbers as an input from the user
Locked. Enroll to open this assignment.
Assignment 36
Python program to swap two variables - By using comma operator
Locked. Enroll to open this assignment.
Assignment 37
Python Decorators - 3 - Hands On
Locked. Enroll to open this assignment.
Assignment 38
Generate a Random Number within a Given Range
Locked. Enroll to open this assignment.
Assignment 39
Higher order functions and closures - 1 - Hands On
Locked. Enroll to open this assignment.
Assignment 40
Write Python programs that sum all the items in the list.
Locked. Enroll to open this assignment.
Assignment 41
Python Files - 5 - Hands On
Locked. Enroll to open this assignment.
Assignment 42
Find the intersection (common) of two sets and remove those elements from the…
Locked. Enroll to open this assignment.
Assignment 43
Display float number with 2 decimal places using print()
Locked. Enroll to open this assignment.
Assignment 44
Python program to solve quadratic equation
Locked. Enroll to open this assignment.
Assignment 45
Python Decorators - 2 - Hands On
Locked. Enroll to open this assignment.
Assignment 46
Python Program to Generate a Random Number
Locked. Enroll to open this assignment.
Assignment 47
Defining an Abstract Class in Python - Hands On
Locked. Enroll to open this assignment.
Assignment 48
Write a Python program that concatenates following dictionaries into a new one…
Locked. Enroll to open this assignment.
Assignment 49
Python Files - 4 - Hands On
Locked. Enroll to open this assignment.
Assignment 50
Create a Python set such that it shows the element from both lists in a pair
Locked. Enroll to open this assignment.
Assignment 51
Convert Decimal number to octal using print() output formatting
Locked. Enroll to open this assignment.
Assignment 52
Python program to find the area of a triangle
Locked. Enroll to open this assignment.
Assignment 53
Python Decorators - 1 - Hands On
Locked. Enroll to open this assignment.
Assignment 54
Create a List in Python
Locked. Enroll to open this assignment.
Assignment 55
Give a Try - Run a System Command using Popen utility of Subprocess module -…
Locked. Enroll to open this assignment.
Assignment 56
Write a Python program that displays a specified list after removing the 0 th ,…
Locked. Enroll to open this assignment.
Assignment 57
Python Files - 3 - Hands On
Locked. Enroll to open this assignment.
Assignment 58
Count the occurrence of each element from a list
Locked. Enroll to open this assignment.
Assignment 59
Use the print() function to format the given words in the mentioned format.…
Locked. Enroll to open this assignment.
Assignment 60
Python program to do arithmetical operations
Locked. Enroll to open this assignment.
Assignment 61
Read line number 4 from the following file
Locked. Enroll to open this assignment.
Assignment 62
Split Integer Into Digits using Java
Locked. Enroll to open this assignment.
Assignment 63
Archiving a file using 'with' - Python Context Manager - Hands On
Locked. Enroll to open this assignment.
Assignment 64
Write a Python program which gets from the keyboard which is made the first 2…
Locked. Enroll to open this assignment.
Get Python Programming Language updates by email
Short, practical lessons and course updates from Rumman Ansari. No spam.