Solution Exercise 33: extact a characters of even index
Exercise 33 Write a Python program that takes a string as input and displays the characters of even index. Example: for the string s = "Python", the program returns "Pto".
Solution Exercise 31: Extract the sub-list of even numbers and that of odd numbers with python
Exercise 31 Write a Python program that retrieves the list of even integers and the list of odd integers from a list of numbers.
Solution Exercise 30: check if two lists have common values in python
Exercise 30 Write a Python algorithm as a function that takes two lists as input arguments and returns a boolean value indicating whether or not they have at least one…
Solution Exercise 29: python algorithm to remove duplicate items from a given list
Exercise 29 Write a Python algorithm that removes duplicate items from a list.
Solution Exercise 28: test whether a Python list or string is empty
Exercise 28 Write a Python program that tests whether a list is empty or not. Same question for a string of characters.
Solution Exercise 27 : Program python to compute the sum and the product of given list
Exercise 27 Write Python program with two functions - sum_list() and multiply_list() - that calculate the sum and product of elements in a given list of numbers.
Solution Exercise 26: python algorithm to find all word beginning with the letter 'a'
Exercise 26 Write a Python algorithm that asks the user to enter a string text and return all words beginning with the letter 'a'.