Back to tasks
The season
BeginnerPython for kids 路 Lesson 27: Comparing text
Problem Statement
Read the name of a season (in Polish): wiosna (spring), lato (summer), jesien (autumn) or zima (winter). Print the number of the month it starts in: 3, 6, 9 or 12.
Input Format
One word: wiosna, lato, jesien or zima.
Output Format
One number: 3, 6, 9 or 12.
Examples
Example 1
Input
lato
Output
6
Example 2
Input
zima
Output
12