this code is supposed to display small hearts and big hearts to show beating of the heart

from microbit import *
while True:
  display.show('HEART_SMALL')
  sleep(1000)
  display.show('HEART')
  sleep(1000)

but my code does not work, can you help me ?
  
