Problems with coding a simple choice

I am not really a great coder though it may work