Question: write python program: Problem 1 Write a program that asks the user for a letter and prints out whether that letter is a vowel or

write python program:

Problem 1 Write a program that asks the user for a letter and prints out whether that letter is a vowel or not. Sample Outputs (user input highlighted) Enter a letter: v v is not a vowel

Enter a letter:

e e is a vowel

Enter a letter:

y y is sometimes a vowel

Problem 2

A leap year is a year that has 366 days instead of the normal 365. Leap years occur every 4 years, except every 100th year is not a leap year. However, every 400th year is a leap year. Some examples:

1896 is a leap year

1996 is a leap year

1900 is not a leap year

2000 is a leap year

2018 is not a leap year

2020 is a leap year Write a program that asks the user for a year, and outputs whether or not it is a leap year.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!