Running instructions in Interactive interpreter and a Python Script
Write a script to purposefully raise Indentation Error and Correct it
Write a script to find Sum and average of first n natural numbers
Given 2 strings, s1 and s2, create a new string by appending s2 in the middle of s1
Write a script to check whether a given string is palindrome or not.
Write a program add.py that takes 2 numbers as command line arguments and prints its sum.
Write a script using a for loop that loops over a sequence
Write a script to count the numbers of characters in the string and store them in a dictionary data structure
Write a program to use split and join methods in the string and trace a birthday with a dictionary data structure.
Write a script that combines more than one lists into a dictionary Compute the GCD & LCM of two numbers.
Check a number is prime or not Find the square root of a number Exponentiation (power of a number)
Find all primes within a given range Find First n Fibonacci numbers.
Find the maximum of a list of numbers
Linear search and Binary search
Write a function nearly equal to test whether two strings are nearly equal. Two strings a and b are nearly equal when a can be generated by a single mutation on b.
Find the most frequent words in a text read from a file
Programs that take command line arguments (word count)
Write a function to find all duplicates in the list
Remove empty strings from the list of strings
Write a program to print each line of a file in reverse order.
Write a program to compute the number of characters, words and lines in a file.
Write a script to Calculate age in year month days of a person taking his/her date of birth as input and accessing current system date.
Write a regular expression to search digit inside a string
Some of the suggested sample Exercises using Django
Send data to a template
Display data in a template
Display object lists in a template
Handle chains with filters in Django
Create and Use URLs in Django
Create base templates in order to extend other templates
Insert static files in our templates
Create an HTML form
Handle the data sent by a form
Create a Django form
Validate and manipulate data sent from a Django form