Solution Exercise 32: Python algorithm which move the elements of a list
Exercise 32 Write a Python program that move the first 3 elements of a given list and place them at the end of the list. Example if L = [25,…
Solution Exercise 31: python algorithm which determines the list of tuples satisfying certain conditions
Exercise 31 For given a list of integers L, write a Python algorithm that returns the list of tuples (n, m) verifying n + m <10. Example: if L =…
Solution Exercise 30: Python algorithm that determines the list of words that do not contain any digits in a given text
Exercise 30 Write a Python algorithm that determines the list of words containing no digits in a given T text. Solution # creation of a function which detects if a…
Solution Exercise 29: list of words containing at least one number
Exercise 29 Write a Python algorithm that determines the list of words containing at least one digit in a given T text. Solution # creation of a function which detects…
Solution Exercise 28: Python program which determines the list of words containing at least one capital letter
Exercise 28 Write a Python algorithm that determines the list of words containing at least one capital letter in a given T text. Solution # creation of a function which…
Solution Exercise 27: python algorithm which determines the list of words starting with a capital letter
Exercise 27 Write a Python algorithm that determines the list of words starting with a capital letter in a given text T. Solution def beginMaj (T): # initialization of the…
Solution Exercise 26: python algorithm which determines the list of even integers and the list of odd integers from a given list
Exercise 26 For a given list L of integers, write an algorithm in Python that return the tuple of lists (l_even, l_odd) where l_even designates the list of even integers…