this post was submitted on 17 Mar 2024
1 points (100.0% liked)

Testing Zone

17 readers
1 users here now

A zone to test posts and comments in the instance

Hidden from the feeds in the instance by default. Subscribe to the community to see posts in it

If youre an instance owner and this is showing up on your feed I can show you how to hide it or you can delete it if you want

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient


founded 1 year ago
MODERATORS
 

Single line of code: [4 spaces and an escaped newline]
return [4 spaces and an escaped newline]
New paragraph [2 escaped newlines]

Code Block (no lang): [4 spaces and an escaped newline]

if this [4 spaces and an escaped newline]    
then [4 spaces and an escaped newline]    
that
else
the_other_thing [4 spaces and an escaped newline]    
endif

(no spaces before newlines for next block)

Code Block (python):

if this is not None:
    that
else:
    other_thing
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 8 months ago
if broken is not None:
    print(broken)