it is showing no error just bringing up a blank display instead of printng start at the bottom of display
import pygame
import time
pygame.init()
black = (0,0,0)
white = (255,255,255)
Display = pygame.display.set_mode((800,600))
pygame.display.set_caption('fitness')
font = pygame.font.SysFont(None,200)
def message_to_screen(msg,color):
screen_text = font.render(msg,True,color)
Display.blit(screen_text, [800/2, 600/2])
exercises =["pelvic shift","hanging","single leg hopping","puppy pose","side strech","low lunge arcs", "cobra strech","jogging,skipping","vertical bends","standing strechs","side bends","swimming","toe lifts","land swimming" ,"legs up alternate", "leg kicks" , "wake up stretchinggutes and hip bridges","forward spine stretch","cat camel back stetch","mermaid stretch","cycling","jump squats","cobra stretch","downward facing dog" , "bird dog", "inversion table exercise", "surya namaskars" , "side planks"]
def exerciseLoop():
for x in exercises:
for number_of_exercise in range(1,29):
z = exercises.index(x)
if number_of_exercise == (z+1):
final={}
final.update({number_of_exercise:x})
message_to_screen("start",black)
clock = pygame.time.Clock()
FPS = 30
clock.tick(FPS)
Display.fill(white)
pygame.display.update()
exerciseLoop()