import pygame
import time
pygame.init()
display_surface=pygame.display.set_mode((600,600))
image=pygame.image.load(“backgroundone.jpg”)
font=pygame.font.SysFont(“Times New Roman”,72)
text=font.render(“Happy”,True,(0,0,0))
text2=font.render(“Birthday”,True,(0,0,0))
text3=font.render(“MD GAUS”,True,(0,0,0))
display_surface.fill((255,255,255))
display_surface.blit(image,(0,0))
display_surface.blit(text,(210,180))
display_surface.blit(text2,(180,264))
display_surface.blit(text3,(160,260))
pygame.display.update()
time.sleep(2)
image2=pygame.image.load(“backgroundtwo.jpg”)
font3=pygame.font.SysFont(“Arial”,78)
text4=font3.render(“Wish You Happy Birthday”,True,(0,0,0))
display_surface.fill((255,255,255))
display_surface.blit(image2,(0,0))
display_surface.blit(text4,(60,80))
pygame.display.update()
time.sleep(3)
image3=pygame.image.load(“backgroundthree.jpg”)
display_surface.fill((255,255,255))
display_surface.blit(image3,(0,0))
pygame.display.update()
time.sleep(4)