Respuesta :

for x in range(20,31):

   print(x, end=" ")

I hope this helps!