Python - Pygame
- Pygame
GE3171 Problem Solving and Python Programming Lab
R 2021
- Python Lab Programs
- Electricity Bill Generation
- Weight of a motorbike
- Weight of a steel bar
- Electrical Current in Three Phase AC Circuit
- Exchange the value of two variables
- Circulate the values of n variables
- Distance between two points
- Square root of a number - Newtons method
- GCD of two numbers
- Number series - Fibonacci series
- Number series - Prime numbers
- Number series - Sine series
- Number patterns - Odd numbers
- Number patterns - Squares and Cubes of numbers
- Number Triangles
- Functions
- String manipulation
- List
- Tuples
- Set
- Dictionary
- Modules
- Searching and Sorting
- File Handling
- Read from user and Write to file
- Read from file and display
- Copy file
- Display file with line number
- File word count and longest word
- Retail Shop Billing
- Unique words in a file - sorted alphabetically
- Exception Handling
- IOError
- ArithmeticError
- ZeroDivisionError
- Raising Exceptions - Voter age validation
- IOError and student mark validation
- Python Standard Libraries
- matplotlib
- pandas
- Dataframe
- CSV File handling
- numpy
- scipy
- Introduction to Pygame
- Pygame
Python Notes
- Python Notes
Assignments
Assignments
- Python – Assignments
- Python Assignment 1 – Control Structures
- Python Assignment 2 – String
- Python Assignment 3 – Tuples
- Python Assignment 4 – Number Triangles
- Python Assignment 5 – Lists
- Python Assignment 6 – Dictionaries
- Python Assignment 7 – Miscellaneous Programs
- Python Assignment 8 – Functions
- Python Assignment 9 – Files
- Python Assignment 10 – List Comprehension
- Python Assignment – Extra Assignment Programs
Python Programs
- Simple Programs and Control structures
- Celsius - Fahrenheit conversion
- Sum of first n natural numbers
- Multiplication table of a number
- Quotient and reminder
- First n numbers divisible by 7
- Sum of first n odd numbers
- Positive divisors of a number
- Sum of an array of numbers
- Distance between two points
- Circulate the values of n variables
- Swap the values of two variables
- Pascal triangle
- First n prime numbers
- Exponentiation (Power of a number)
- Square root of a number - Newtons method
- GCD of two numbers
- Convert Integers to roman numerals
- Strings
- Tuples
- List
- List manipulation
- Even and odd numbers of a list
- Average of numbers in a list
- Find maximum in a list of numbers - Lists
- Find maximum in a list of numbers - Control structures
- List - Matrix Multiplication
- List - Matrix Subtraction
- List - Matrix Addition
- Sorting a list of strings
- Sorting - Merge sort - Functions
- Sorting - Selection sort
- Sorting - Insertion sort
- Binary search
- Linear Search
- Dictionary
- Functions
- Files
- Read from console and write to file
- Read from file and display
- Display file content with line number
- Display first n lines of a file
- Display nth line of a file
- Display from nth to mth line in a file
- Copy File
- Copy first n lines of a file, copy from nth line to mth line in a file
- Merge files
- File - line, word and character count
- File word search
- Count number of occurrences of a word in a file
- Display line containing word in file
- Delete word in file
- Replace a word in file
- Files and Dictionary: Histogram, Word Frequency, remove noise words
- Files and dictionary, Histogram, character frequency
- Name and phone number
- Compare two files and print the line where they differ
- Read and write to file. student details
This is fabulous material - thank you so much!
ReplyDeletemam ur material was very useful for us... can u provide steps to run pygame program as a video or doc . it will useful for us..
ReplyDeleteThanks again, we couldn't have pulled this off without you mam.
ReplyDeleteExcellent work and it is very much useful for students community as it is useful for staff members as a reference document. Keep it up madam
ReplyDeleteVery Informative and creative contents. Keep posting More Blogs
ReplyDeleteThank youuuuuuuuu so much. It means a lot
ReplyDelete