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'.
Python Courses & Exercises with solutions !
Exercise 26 Write a Python algorithm that asks the user to enter a string text and return all words beginning with the letter 'a'.
Exercise 25 Write a Python algorithm that asks the user to enter a word and return the opposite. Example: if the user enters the word 'python', the program returns 'nohtyp'.
Exercise 24 A palindrome is a word whose order of letters remains the same whether it is read from left to right or from right to left. For example: 'laval',…
Exercise 23 Write a Python program that prompts the user to enter a file name, and then returns the extension of the file. Example if the user enters coursPython.pdf the…
Exercise 22 Write a simple program in Python that returns the first word of a given text. Example for the text: T = 'Python is a wonderful programming language', the…
Exercise 21 Write a simple Python program that counts the number of vowels in a given string. Example: for the string s = 'anticonstitutionally' the program must return the following…
Exercise 20 Write a simple program in Python that exchanges the first and last characters of a given string