# Rotate on key down, revert rotate on key up?

How would I rotate an object a certain number of degrees when the left arrow is pressed and then rotate it back to its start when the left arrow is released?

if (Input.GetKeyDown(KeyCode.LeftArrow))