Define the Subscription class.Write a function named Q1b() and include statements for these steps:(ii)Create TWO (2)Subscription objectsfor Today’s Newcurrently at $34.90 for printed version.
(iii)Display the detail of subscription 1 and the name of newspaper for subscription 2.(iv)Increase the monthly subscription rate for the newspaperfor subscription1 for print version to 37.50, and then change the version forsubscription 1(v)Display the rates for both subscriptions andthe prevailing subscription rates for printed andonline versions for newspaper that the subscriptions are for.(7marks)(c)The Publisherclass models a publisher of newspapers.It has the following attributes:?_newspaperList–An instance variable for a list of newpaper published by the publisher._newspaperList is a dictionary with the name of the newspaper as key and the newspaper as va