Description
1. Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700 (both included).
2. Write a Python program that accepts a word from the user and reverse it.
3. Write a Python program to calculate a dog’s age in dog’s years. Note: For the first two years, a dog year is equal to 10.5 human years. After that, each dog year equals 4 human years.
4. Write a Python program to check a triangle is equilateral, isosceles or scalene
5. Write a Python program to detect the number of local variables declared in a function.
6. Write a Python program to execute a string containing Python code.
7. Write a Python program to convert a given list of tuples to a list of strings using map function.
8. Write a Python program to split a given dictionary of lists into list of dictionaries using map function.
9. Write a Python program to scan a specified directory and identify the sub directories and files.
10. Write a Python program to parse a string representing time and returns the structure time.
11. Write a Python code to send some sort of data in the URL’s query string.
12. Write a Python code to send a request to a web page, and print the information of headers. Also parse these values and print key-value pairs holding various information.
13. Write a Python program to write a Python dictionary to a csv file. After writing the CSV file read the CSV file and display the content.
14. Write a Python program that reads each row of a given csv file and skip the header of the file. Also print the number of rows and the field names.
15. Write a Python program to check that a string contains only a certain set of characters (in this case a-z, A-Z and 0-9)
Reviews
There are no reviews yet.