Challenge 4
While loops
- Create a program that allows the user to continuously enter a word, prints the last letter of the word, and the program only ends once they type the word βendβ
- Create a program that allows the user to enter a number. Then, a segment of code containing a print statement is repeated their number amount of times, using a while loop
For Loops
- Create a program that allows the user to enter a word, and prints each vowel in the world
- Then alter the program to print how many vowels are in the word