Question: I need it in python Submission Instructions Create a Python script to solve the following problems. The py file shall be named using your first
I need it in python

Submission Instructions Create a Python script to solve the following problems. The py file shall be named using your first and last name with an underscore separating the names. Ex: for a student with name-' Matt Amissah', the file name should be 'matt_amissah. py'. Compress your py file together with any other supplemental files given in the assignment into a zip file. The zip file should be similarly named as before (i.e. 'matt_amissah. zip') and submitted on Blackboard Write a program that takes 3 integer inputs for month, day and year respectively and prints out: the day of the week the given date falls on. The input for month shall be in the range 1.12 for January-December respectively. Additionally, the day of the week can be output to the console as an integer in the range 06 for Sunday-Saturday respectively. Use the following formula's: - y0=y1214m - x0=y0+4y0100y0+400y0 - m0=m+12(1214m)2 - d0=(d+x0+1231m0)mod7 Where m,d and y represents the input values for month, day and year respectively and d0 represents the computed day of the week that the given date falls on. Additional Requirements: - Retain/use only whole part of division operations given in the formula - Import the given header script (i.e., header.py) to print program's user instructions A printout of the console after a sample run of the program is given below (see next page) - Input date: February 9, 2023- - Output day: 4 (i.e. Thursday) DAY FHOM DATE Instructions This program takes a date and prints the day of the week It fa1ls on The progran accepts as inputst nonth(m), day (d), and year (y) For month, the numbers 112 stands for January-Decenber The program calculates de the day of the week. given in the range 96 for Sunday-Saturday respectively: Applying the following formulas: y0=y(14m)/12x0=y0+y0/4y0/169+y0/4e0m0=n+12((14m)/12)2d0=(d+x0+(31m0)/12)mod7 Enter Month from 1-12: 2 Enter Day fron 1-31: 9 Enter Year xxxx:2823 Calc value: 4ie., Thursday
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
