Word Scramble

Code Speed : 1s

Play The Game

Try to unscramble the word below and type your guess in the box!

Scrambled Word:

See the Code

0: def scramble(original_word, scrambled_word, tries):

1: while tries > 0:

2: guess = input()

3: if guess.lower() == original_word:

4: return "Correct!"

5: else:

6: tries -= 1

7: return "Wrong. {tries} tries left."

8: return "You lost! The word was {original_word}."

Click the light bulb icon to learn what the line of code does!