arduino to keyboard stroke

I'm a complete beginner here so sorry if this is extremely basic, but I would greatly appreciate any help.
I'm trying to get a switch to input into an arduino, then for the arduino to input into the computer a specific keyboard stroke (e.g. spacebar, "a," "return").

Could anyone point me to how I could do this? Thanks!

The easiest way to do this is buy an Arduino Micro or Leonardo or Teensy as they can all natively support being a HID device when plugged into a USB port so they are easy to setup as a keyboard to send your key sequence.

Thanks! Will look into one of those.