why will this uno sketch not work with a Nano

Which options do you have under the tools menu when you select the nano; there was a boards update a while ago and if you have that installed there should be an option referring to 'old bootloader'. Try that one.

By the way, this is not a programming question :wink:

By the way, did you see that smiley in your code? Use code tags when posting code on the forum and that problem will be solved.