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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started