Automatic Hangman X92084


Statement
 

pdf   zip

html
Public test cases
  • Input

    HELLO
    HELO
    

    Output

    _____
    HELLO
    Player wins!
    Lives: 7
    
  • Input

    HELLO
    OXEXX
    

    Output

    _____
    _E__O
    Word not completed and player is still alive.
    Lives: 4
    
  • Input

    HELLO
    ABCDEFGHI
    

    Output

    _____
    HE___
    Player loses.
    Lives: 0
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Python