adding images to surface in pygame code example Example: how to blit image in pygame def blit_img(img,x,y): screen.blit(img,[x,y])