Say I have a text file: story.txt.

Is there a command that allows me to print on the screen only lines 30 to 35 from this file? The only solution I can think of would be this:

$ cat story.txt | head -n 35 | tail -n 5
But that isn't really pretty. Is there a better way?