Question: PYTHON Write a program that determines the month of the year based on the value of a variable called month. The variable will be a
PYTHON
Write a program that determines the month of the year based on the value of a variable called month. The variable will be a number from 1 to 12 (1 is January, 2 is February, etc.). Use a print statement to write the month to the screen.
Important, you will need to declare the variable month and assign it a value in order to test your code. However, do not submit your code to be graded with the variable declaration and assignment. The auto-grader will declare the variable for you and give it a value.

Exercise 4: Months Write a program that determines the month of the year based on the value of a variable called The variable will be a number from 1 to 12 ( 1 is January, 2 is February, etc.). Use a print statement to write the month to the screen. Important, you will need to declare the variable and assign it a value in order to test your code. However, do not submit your code to be graded with the variable declaration and assignment. The auto-grader will declare the variable for you and give it a value. Click on the Try It button to test your code. If your code is not working, try to execute your code line by line with the Code Visualizer. Code Visualizer Your program should handle a variable month that has a number value between 1 and 12. Print the month of the year based on this number ( 1 is January, etc.). Remember, do not declare the variable in your code when you submit it. The auto-grader will declare the variable for you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
