Solution Exercise 72 : python algorithm to examin if a substring is present within a given string
Exercise 72 Write a python function which examine if a particular substring occurs within a given string.
Solution Exercise 71: python program to find the minimum digits within a given string
Exercise 71 ** Write a Python algorithm that takes a string 's' as input and which determines the minimum digit within the string s. Example: if s = "Python3.7 is…
Solution Exercise 70: Python program that extracts all words from a given string s whose length is less than to 4
Exercise 70 Write a python program as function which extract from a given string s , the list of all words whose len is less than or equal to 4.…
Solution Exercise 69: Python function that checks if a given string s is a duplicated string
Exercise 69 Write a Python program which takes a string 's' as input and which returns True if the string is duplicated and False otherwise. Example: if s = "HelloHello",…
Solution Exercise 68: python algorithm to compute the numer of shared characters in two strings
Exercise 68 Write a python program as function which takes a tuple of string (s1 , s2) and return the number of common characters in s1 and s2. Example: if…
Solution Exercise 67: python algorithm to check if a given string start with an other string
Exercise 67 Write a Python program as function that checks whether a given string 's' starts with another string 's1', without using the built-in startswith() method.
Solution Exercise 66: Python program that extract the list of all urls within a given string
Exercise 66 Write a Python algorithm as a function which takes as input a string 's' and extract the list of all urls from the string 's'. Example: if s…