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".
Python Courses & Exercises with solutions !
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".
Exercise 31 Write a Python program that retrieves the list of even integers and the list of odd integers from a list of numbers.
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…
Exercise 29 Write a Python algorithm that removes duplicate items from a list.
Exercise 28 Write a Python program that tests whether a list is empty or not. Same question for a string of characters.
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.
Exercise 26 Write a Python algorithm that asks the user to enter a string text and return all words beginning with the letter 'a'.