Take only first *NUMBER* of keys from table

Hello FP, I wanted to know an “simple” solution to take only the first -whatver many- numbers of keys from an table, and print their content, lets say there are 10 keys, but I only want to print the first 5 keys, how would I go about that?
I dont want to have like 5x table[number] :confused:

[lua]for i = 1, 5 do