Skip to content

Use raw string literal (r''') to fix escape sequence warnings in ASCII art header #75

@scpaes

Description

@scpaes

The print_header() function in apps/07_wizard_battle/final/program.py contains a multi-line string with backslashes that trigger a SyntaxWarning: invalid escape sequence warning.
The string literal uses backslashes in the ASCII art without proper escaping, causing Python to emit warnings about invalid escape sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions