Exercises Python Part1
Exercises Python Part1
In this exercise you will create a program that reads a letter of the alphabet from the
user. If the user enters a, e, i, o or u then your program should display a message
indicating that the entered letter is a vowel. If the user enters y then your program should
display a message indicating that sometimes y is a vowel, and sometimes y is a
consonant. Otherwise your program should display a message indicating that the letter is
a consonant.
2. The length of a month varies from 28 to 31 days. In this exercise you will create a
program that reads the name of a month from the user as a string. Then your program
should display the number of days in that month. Display “28 or 29 days” for February so
that leap years are addressed.