To help you it's essential to understand your confusion. The code you posted has a blank area where the word is to be chosen randomly, so instead of confusion we see lack of effort.

Choosing the...