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 »

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.



Instructions in file






Need both the output and input of the code




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 Same DayApr 27, 2021

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

Vaishnavi R answered on Apr 28 2021
139 Votes
New folder (6)/greyn3.py
# -*- coding: utf-8 -*-
"""greyn3.ipynb
Automatically generated by Colab
oratory.
Original file is located at
https://colab.research.google.com/drive/1QQaakCD78WebPRmo-yp6q4HOxemuieiJ
"""
month = input("Enter the month : ")
if month == "1":
print("You are born in January")
elif month == "2":
print("You are born in February")
elif month == "3":
print("You are born in March")
elif...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here