????????: Python question Write the Game class with the required properties to give the following outputs as shown. # Write your codes here . # Do not change the following lines of code . h =...


????????: Python question
Write the Game class with the required properties to give the following
outputs 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: 1
Duelist 1
Agent Name:Raze
Default ability:Paint shells
Ultimate: SHOWSTOPPER
Required ultimate points: 8
=================================
Agent Phoenix added
=================================
Total Duelists: 2
Duelist 1
Agent Name:Raze
Default ability:Paint shells
Ultimate: SHOWSTOPPER
Required ultimate points: 8
Duelist 2
Agent Name:Phoenix
Default ability:Hot hands
Ultimate: Run it back
Required ultimate points: 6
=================================
Agent Sage added
=================================
Total Sentinels: 1
Sentinel 1
Agent Name:Sage
Default ability:Healing ORB
Ultimate: Resurrection
Required ultimate points: 8
=================================
Agent Killjoy added
=================================
Total Sentinels: 2
Sentinel 1
Agent Name:Sage
Default ability:Healing ORB
Ultimate: Resurrection
Required ultimate points: 8
Sentinel 2
Agent Name:Killjoy
Default ability:Turret
Ultimate: Lockdown
Required ultimate points: 7

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here