????????: Python questionWrite the Game class with the required properties to give the followingoutputs as shown.#Write your codes here.#Do not change the following lines of code.h = Game("Valorant")print("=================================")h.addDuelist("Raze","Paint shells","SHOWSTOPPER",8)print("=================================")print(h.printAllDuelists())print("=================================")h.addDuelist("Phoenix","Hot hands","Run it back")print("=================================")print(h.printAllDuelists())print("=================================")h.addSentinel("Sage","Healing ORB","Resurrection")print("=================================")print(h.printAllSentinels())print("=================================")h.addSentinel("Killjoy","Turret","Lockdown",7)print("=================================")print(h.printAllSentinels())OUTPUT:=================================Agent Raze added=================================Total Duelists: 1Duelist 1Agent Name:RazeDefault ability:Paint shellsUltimate: SHOWSTOPPERRequired ultimate points: 8=================================Agent Phoenix added=================================Total Duelists: 2Duelist 1Agent Name:RazeDefault ability:Paint shellsUltimate: SHOWSTOPPERRequired ultimate points: 8Duelist 2Agent Name:PhoenixDefault ability:Hot handsUltimate: Run it backRequired ultimate points: 6=================================Agent Sage added=================================Total Sentinels: 1Sentinel 1Agent Name:SageDefault ability:Healing ORBUltimate: ResurrectionRequired ultimate points: 8=================================Agent Killjoy added=================================Total Sentinels: 2Sentinel 1Agent Name:SageDefault ability:Healing ORBUltimate: ResurrectionRequired ultimate points: 8Sentinel 2Agent Name:KilljoyDefault ability:TurretUltimate: LockdownRequired ultimate points: 7
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here