Question: 5. (5pts) Using the following names: Write a function that prints only the names that begin with the letter X or Y. Names = Catherine,

5. (5pts) Using the following names: Write a function that prints only the names that begin with the letter X or Y. Names = Catherine, Xander, Jorge, Albert, Yolanda, Phu, Xavier, Monika, Yasmin 6. (10pts) Write a function that asks the user for their birthday month and day and then the function should call a nested function to find out the person's zodiac sign. Test your program with some user input. - Aries: March 21 - April 19 - Taurus: April 20 - May 20 - Gemini: May 21- June 21 - Cancer: June 22- July 22 - Leo: July 23 - August 22 - Virgo: August 23 - September 22 - Libra: September 23 - October 23 - Scorpio: October 24 - November 21 - Sagittarius: November 22 - December 21 - Capricorn: December 22 - January 19 - Aquarius: January 20 - February 18 - Pisces: February 19 March 20 7. (10pts) Write a Python program that calculates airfair and hotel depending on where a person wishes to go and how many days they will stay. Options for airfare are: Sydney, Australia (\$1413), Maui, Hawaii (\$503), Paris, France ($916). Hotels are in based on days of stay with Syndey (\$184), Maui (\$351), Paris(\$170). Use at least 2 functions in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
