Doubt regarding a code

what does this end function do?

d = {0: ‘a’, 1: ‘b’, 2: ‘c’}

for x in d.keys():

   print(x,end=" ")