'is there a way i can display a sprite with tsapp or pygame?

i am trying to create a tag game where it will become someones turn (randomly generated) and the tagger has to move there car to get the runner and the runner has to avoid them but i cant figure out how to display the sprites: CarIconRed, CarIconGreen, CarIconBlue, CarIconPink

"""
MyOwnGame

Description: Cars will spawn in a random place and you will have to dodge the other person
"""
import pygame
import random
import tsapp
pygame.init()

player1car = ""
player2car = ""
window = pygame.display.set_mode([500, 500])
window.fill((0, 0, 0))
pygame.display.flip()

red_car = tsapp.Sprite("CarIconRed.png", 125, 250)
blue_car = tsapp.Sprite("CarIconBlue.png", 375, 250)
green_car = tsapp.Sprite("CarIconGreen.png", 375, 250)
pink_car = tsapp.Sprite("CarIconPink.png", 125, 250)

while player1car != "Red" and player1car != "Pink":
    player1car = input("What Color Of Car Do You Want Player1? (Red, Pink) ")
    if player1car == "Red":
        # i want to display the car_red sprite here
        pygame.display.flip()
    elif player1car == "Pink":
        # i want to display the car_red sprite here
        pygame.display.flip()
    
while player2car == "Blue" and play2car == "Green":
    player2car = input("What Color Of Car Do You Want Player2? (Blue, Green) ")
    if player2car == "Green":
        # i want to display the car_red sprite here
        pygame.display.flip()
    elif player2car == "Blue":
        # i want to display the car_red sprite here
        pygame.display.flip()


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source