display here' the import statements and __init__()scoreboard py import pygame font from pygame sprite import group from ship import ship class scoreboard()""" class to report scoring information ""def __init__(selfai_settingsscreenstats)--snip-self prep_level(self prep_ships(--snip-because we're making group of shipswe import the group and ship classes we call prep_ships(after the call to prep_level(here' prep_ships()scoreboard py def prep_ships(self)"""show how many ships are left ""self ships group(for ship_number in range(self stats ships_left)ship ship(self ai_settingsself screenship rect ship_number ship rect width ship rect self ships add(shipthe prep_ships(method creates an empty groupself shipsto hold the ship instances to fill this groupa loop runs once for every ship the player has left inside the loop we create new ship and set each ship' -coordinate value so the ships appear next to each other with -pixel margin on the left side of the group of ships we set the -coordinate value pixels down from the top of the screen so the ships line up with the score image finallywe add each new ship to the group ships now we need to draw the ships to the screenscoreboard py def show_score(self)--snip-self screen blit(self level_imageself level_rectdraw ships self ships draw(self screento display the ships on the screenwe call draw(on the groupand pygame draws each ship