Reading Time: 1 minutesProject Euler Problem #1: Multiples of 3 and 5 Project Euler Problem #1: Multiples of 3 and 5 If we list all the natural numbers below 10 that are multiples […]
Python Programs
PyPro #101 Chain of Responsibility Design Pattern
Reading Time: 1 minutesChain of Responsibility Design Pattern in Python Chain of Responsibility Design Pattern in Python Write a Python program to implement Chain of Responsibility Design Pattern. See also: Python 101 Object […]
PyPro #100 Convert camelCase words to underscore_separated_lowercase words
Reading Time: 1 minutescamelCase to underscore_separated_lowercase in Python camelCase to underscore_separated_lowercase in Python Write a Regular Expression in Python to convert camelCase to underscore_separated_lowercase words. To learn more about Regular Expressions in Python, […]
PyPro #99 Mediator Design Pattern
Reading Time: 1 minutesMediator Design Pattern in Python Mediator Design Pattern in Python Write a Python program to implement Mediator Design Pattern. See also: Python 101 Object Oriented Python Design Patterns in Python […]
PyPro #98 Print with a delay
Reading Time: 1 minutesPrinting with a delay in Python Printing with a delay in Python Write a Python program to print a string 3 times with a sleep duration of 1 second. See […]
PyPro #97 Find all words with length of 4 characters
Reading Time: 1 minutesFind all words with length of 4 characters in Python Find all words with length of 4 characters in Python Write a Regular Expression in Python to find all words […]
PyPro #96 Iterator Design Pattern
Reading Time: 1 minutesIterator Design Pattern in Python Iterator Design Pattern in Python Write a Python program to implement Iterator Design Pattern. See also: Python 101 Object Oriented Python Design Patterns in Python […]
PyPro #95 Strategy Design Pattern
Reading Time: 1 minutesStrategy Design Pattern in Python Strategy Design Pattern in Python Write a Python program to implement Strategy Design Pattern. See also: Python 101 Object Oriented Python Design Patterns in Python […]
PyPro #94 Remove leading zeroes from parts of an IP address
Reading Time: 1 minutesRemove leading zeroes from parts of an IP address in Python Remove leading zeroes from parts of an IP address in Python Write a Regular Expression in Python to remove […]
PyPro #93 Anagram Test
Reading Time: 1 minutesAnagram Test in Python Anagram Test in Python Given two strings, write a Python program for Anagram Test i.e. check if they are anagrams. See also: Python 101 Object Oriented […]