PYTHON PROGRAMS


PROGRAM 02 – ALPHAGUESS

 

 

PROGRAM DESCRIPTION

 

The new hit game sweeping the nation is AlphaGuess. The way the game works is that one person will say a letter in the alphabet, then the other will also say a letter.  This continues until someone says a duplicate letter, in which case they lose.

 

Option A – Write a program where someone can play AlphaGuess against another user.

Option B Write a program where someone can play AlphaGuess against a computer.

 

HINT

 

You can use a list to hold all letters used up so far.

You can use a list’s count method to check if the guessed letter is in the list and hence a repeat.