hangman and guillotine share the same game mechanics but have different presentations this makes it easy to swap out the ascii-art noose graphics with the ascii-art guillotine graphics without having to change the main logic that the program follows this separation of the presentation and logic parts of the program makes it easier to update with new features or different designs in professional software developmentthis strategy is an example of software design pattern or software architecturewhich concerns itself with how to structure your programs for easy understanding and modification this is mainly useful in large software applicationsbut you can also apply these principles to smaller projects """hangmanby al sweigart al@inventwithpython com guess the letters to secret word before the hangman is drawn view this code at tagslargegamewordpuzzle"" version of this game is featured in the book "invent your own computer games with python import randomsys set up the constants (!try adding or changing the strings in hangman_pics to make guillotine instead of gallows hangman_pics [ "" +-- =====""" "" +-- =====""" "" +-- =====""" "" +-- project #