Reading Time: 1 minutesConverting a string-containing-list-syntax to a list in Python Converting a string-containing-list-syntax to a list in Python Converting a string-containing-list-syntax to a list. Given a list stored as a string, write […]
Month: March 2017
PyPro #60 Extract words starting with 'a', 'd' or 's'
Reading Time: 1 minutesExtract words starting with a given letter in Python Extract words starting with a given letter in Python Extract words starting with 'a', 'd' or 's'. Write a Regular Expression […]
PyPro #59 Implementing Linear Search algorithm in Python
Reading Time: 1 minutesLinear Search algorithm in Python Linear Search algorithm in Python Write a Python program to implement the Linear Search algorithm in Python. Linear Search algorithm in Python See also: Python […]
PyPro #58 List of Tuples into a Dictionary
Reading Time: 1 minutesList of Tuples into a Dictionary in Python List of Tuples into a Dictionary in Python List of Tuples into a Dictionary: Given a list of 2-element tuples such as […]
PyPro #57 Extract contents of a Paragraph tag with id 'para'
Reading Time: 1 minutesExtract contents of a Paragraph tag with a given id in Python Extract contents of a Paragraph tag with a given id in Python Extract contents of a Paragraph tag […]
PyPro #56 Generate 10 random even numbers from 0 to 100
Reading Time: 1 minutesGenerate 10 random even numbers in Python Generate 10 random even numbers in Python Write a Python program to generate 10 random even numbers from 0 to 100. generate 10 […]
PyPro #55 Printing multiplication tables
Reading Time: 1 minutesprinting multiplication tables in Python printing multiplication tables in Python Printing multiplication tables: Write a Python program to print first 5 multiples of a given number in the format 5 […]
PyPro #54 Create random objects of subclasses of a superclass
Reading Time: 1 minutesCreate random objects of subclasses of a superclass in Python Create random objects of subclasses of a superclass in Python Write a Python program to create random objects of subclasses […]
PyPro #53 Match an 'a' followed by 4 'b's in a String using RegEx
Reading Time: 1 minutesMatch an 'a' followed by 4 'b's in Python Match an 'a' followed by 4 'b's in Python Match an 'a' followed by 4 'b's: Write a Regular Expression in […]
PyPro #52 List all text files in the current directory
Reading Time: 1 minutesList all text files in the current directory in Python List all text files in the current directory in Python List all text files in the current directory: Write a […]