The fоllоwing is а list оf winners of Mаjor Leаgue Baseball's World Series. The attributes are the year the team won the World Series from 1903 through the present, the team's city, the team's name, and the league it represents. There are only two leagues in the list: "American" and "National". Winners = [ [1903, 'Boston', 'Americans', 'American'], [1905, 'New York', 'Giants', 'National'], [1907, 'Chicago', 'White Sox', 'American'], " " " [2025, 'Los Angeles', 'Dodgers', 'National'] ]Create a method for a class called "WSwinners" that includes the above list as a class attribute. The method takes only one parameter - a city (type string), iterates through the list and prints all the years that city's teams won the World Series or states the city's teams have never won the World Series. Also print the total number of times the city's teams have won.You only need to code the method. Assume the class definition line and "__init__() method are correctly coded and present - do not provide code for them. Also, do not copy the above list into your program, assume it's already there and is in the correct spot for a class attribute. A correct answer should have ~10-12 lines of code and must only use basic Python statements covered in the course and not rely on lambda functions or code imported from a framework.