Write a programExercise 3/4Elementary20 XP

A house made of characters

Task

Print exactly this house - mind the spaces at the start of the lines too:

/\
/ \
/____\
| |
|____|

Careful: a backslash \ has a special meaning in text (for example \n). To print it on its own, write it twice: \\.

Examples

  • Input

    (no input)

    Expected output

      /\
     /  \
    /____\
    |    |
    |____|

Python starts the first time you run code.

Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.

Input (stdin)

Each line = one call to input().

Output

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.