Python Design the Match class such a way so that the following code provides the expected # Write your code here. match1
Posted: Thu Jul 14, 2022 2:13 pm
Python
Design the Match class such a way so that the followingcode provides the expected
# Write your code here.
match1 = Match("Rangpur Riders-CumillaVictorians")
print("=========================")
match1.add_run(4)
match1.add_run(6)
match1.add_over(1)
print(match1.print_scoreboard())
print("=========================")
match1.add_over(5)
print("=========================")
match1.add_wicket(1)
print(match1.print_scoreboard())
Design the Match class such a way so that the followingcode provides the expected
# Write your code here.
match1 = Match("Rangpur Riders-CumillaVictorians")
print("=========================")
match1.add_run(4)
match1.add_run(6)
match1.add_over(1)
print(match1.print_scoreboard())
print("=========================")
match1.add_over(5)
print("=========================")
match1.add_wicket(1)
print(match1.print_scoreboard())