Gaining Proficiency Instructions Instructions Python HW 3 SeasonLeapYear Project Description: Create 2 pieces of code inside this code. Using conditionals, create multiple if statement to determine...

1 answer below »
This needs to be done by google colab. Please follow the instruction I attached.


Gaining Proficiency Instructions Instructions Python HW 3 SeasonLeapYear Project Description: Create 2 pieces of code inside this code. Using conditionals, create multiple if statement to determine what season you were born, based on the month you were born. Using another if statement, determine if the year someone was born during a leap year or not. Needed for this assignment: Google Colab (GC) Instructions To be submitted for this assignment: Your python file, named LastNameFirstInitialPythonHW3SeasonsLeap.py A screen shot of your output file, saved as LastNameFirstInitialPythonHW3SeasonsLeapOutput.jpg Instructions: The following table shows the steps you will need to follow and the rubric that your instructor will use to grade your assignment: StepInstructionsPoints Possible 1Open up your Python editor and create a file named LastNameFirstInitialPythonHW3SeasonsLeap.py5 2First line of code should have a comment of your name and the CRN of your class.5 3Create a variable that will store the value the user entered. Then write code that will ask the user to input the month they were born (Answer should be a number between 1-12).10 4 · Output the variable the user entered as the month they were born in a sentence. 5 5 · Create a variable that will store the value the user entered. Then write code that will ask the user to enter the year they were born (4 digit form). 10 6 · Output the variable the user entered as the year they were born in a sentence. 5 7 · Using if/elif/else statements, create a condition that will determine if the user was born in the Spring(4-6), Summer(7-9), Fall(10-12), or Winter(1-3). 10 8 · Print out the season in which the user was born in a sentence. 5 9 · Using if/else statements and %, create code that will determine if the user was born in a leap year (Anything divided by 4 with a remainder of 0 is good enough). 15 10 · Print out a statement, indicating if the birth year inputted was a leap year or not. 5 11 · Run and fix your code for any errors. 5 12 · Compare your output as the sample output. 5 13 · Create a screen shot of your output and name the output as LastNameFirstInitialPythonHW3SeasonsLeapOutput.jpg. 10 14 · Save your file and submit, both the output and the code. 5 100 Python Homework Instructions.docx
Answered 1 days AfterApr 18, 2021

Answer To: Gaining Proficiency Instructions Instructions Python HW 3 SeasonLeapYear Project Description: Create...

Ankit answered on Apr 20 2021
154 Votes
month = int(input("Can you please enter the month in which you were born (1-12) = "))
print("You we
re born in " + str(month) + " month")
year = int(input("Can you please enter the year in which you were born (YYYY) = "))
print("You were born in " + str(year) + " year")
if((month==1) or...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here