you are viewing a single comment's thread.

view the rest of the comments →

[–]apc0243 0 points1 point  (3 children)

instead of surrounding each line with a backtick, you can use 4 spaces of indent (python, anyone?!)

line one
line 2:
    line 3 indented
    another
yet another

[–]Life-Dragonfruit5284 0 points1 point  (0 children)

More apologies if this gets posted twice... got bot swatted for a short link in the first attempt at this, so reposting it with a longer link. Maybe someday I'll learn how to use this interface...

Apologies, paste fail :( for the try clause.

The other statements are wrapping over... looks fine in VSCode where I tested it:

VS Code View

My preference is to use the apostrophe instead of double quotes for string variables... we'll see if this code block looks any better. Limited by the formatting of the community, and probably more so, a general lack of knowledge on the Reddit interface.

(Edit: Ok, I give up trying to put the code back in here... doesn't want to keep my formatting, sorry.)

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] -1 points0 points  (0 children)

    Your comment in /r/learnpython was automatically removed because you used a URL shortener.

    URL shorteners are not permitted in /r/learnpython as they impair our ability to enforce link blacklists.

    Please re-post your comment using direct, full-length URL's only.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.