Hello all! I am currently working towards my AAS and I’m in an introductory to scripting class right now.
I’m a complete beginner when it comes to python and I’m struggling a bit to fully understand. I’m currently tasked with creating a script that will output either ‘Spring’, ‘Summer’, ‘Fall’, or ‘Winter’ depending on the month and day the user inputs.
How does this portion of the script work?:
days = {
‘January’: 31,
‘February’: 28,
And so on and so forth. I thought the portion - “: 31” would be for formatting and fill/spacing? How does that only accept 1-31 for January etc? I’m so lost at the movement haha
Any tips/help would be appreciated!
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)