Question: Python language ! Write a function called music_genre that consumes an int representing a year and returns a string describing a music genre from that

Python language !
Write a function called music_genre that consumes an int representing a year and returns a string describing a music genre from that decade. Use the chart below: Range of Years Music Genre 1940-1949 Jazz 1950-1959 ck 1960-1969 Motown 1970-1979 Disco 1980-1989 Pop 1990-1999 Alternative
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
