Nov-10-2017, 08:09 AM
i need to create scrabble game with the user to type the word and then calculate the value of this word. i have to use the following dictionary:
score = {"A": 1, "C": 3, "B": 3, "E": 1, "D": 2, "G": 2, "F": 4, "I": 1, "H": 4, "K": 5, "J": 8, "M": 3, "L": 1, "O": 1, "N": 1, "Q": 10, "p": 3, "S": 1, "R": 1, "U": 1, "t": 1, "W": 4, "V": 4, "Y": 4, "X": 8, "Z": 10}the program needs to run forever unless the user types q.the users types a word in capital case eg WATER and the program needs to print out WATER point eg 24
the words and the scores needs to get stored each in different dictionary.
Some guidance please?