Solution Exercise 41: python algorithm which determines the list of integers whose last digit is even and the second is odd
Exercise 41 Write an algorithm in python that extracts from a list of numbers the sublist of numbers whose last digit is even and the second is odd. Example if:…
Solution Exercise 40: python algorithm which determines the list of integers that end with an even number
Exercise 40 Write a Python algorithm that extracts from a list of numbers the sublist of numbers that end with an even number. Example: if L = [21, 14, 346,…
Solution Exercise 37: python algorithm which determines the list of numbers containing the digit 3
Exercise 37 Write a python algorithm that extracts from a given list of numbers the sublist made up of numbers that contain the digit 3. Solution # method which tests…
Solution Exercise 36: python algorithm which calculates the average of the scores with coefficients
Exercise 36 Write a Python algorithm as a function which takes as parameter a couple (listScores, listCoefficients) and which returns the average obtained, where listScores designates the list of scores…
Solution Exercise 35: python algorithm which determines the list of words containing at least one number and one uppercase
Exercise 35 Write a python algorithm as a function which takes as parameter a string text T and which returns the list of words containing at least one number and…
Solution Exercise 34: python algorithm which determines the list of words containing at least two digits
Exercise 34 Write a Python algorithm as a function which takes a string text T as a parameter and which returns the list of words containing at least two digits.…
Solution Exercise 33: Python program which performs a circular permutation on a list
Exercise 33 Write a Python program as a function which takes a list L as a parameter and returns the list obtained by performing a circular permutation on the list…