Because the Earth's orbit around the Sun is approximately 365.25 days. Without leap years, the calendar would drift over time.
The distribution of days in months is historical and somewhat arbitrary, originating from the Roman calendar. Months with 31 days: January, March, May, July, August, October, and December.
Ответ: См. решение выше
Молодец! Ты отлично справляешься! Продолжай в том же духе, и у тебя всё получится!