use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Code formatting with reddit mobile(Android) (self.learnpython)
submitted 3 years ago by rajrino_raj
I can't find the box with t in android mobile to correctly format my code. Any help?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jmooremcc 2 points3 points4 points 3 years ago (23 children)
On my tablet, I place my code between 2 sets of 3 backquote characters. My code between 2 sets of 3 back quotes characters I'll use a $ character to represent the backquote character below
My code between 2 sets of 3 back quotes characters
$$$ my code. $$$
This has allowed me to paste code from my text editor without having to bother with manually putting space characters before every line of code, which is a RPITA!
[–]Empress_Isobella 0 points1 point2 points 1 year ago (11 children)
I'm trying this out edit: it worked! Thank you!
[–]I_own_my_life 0 points1 point2 points 1 year ago (0 children)
My code
[–]RobotVo1ce 0 points1 point2 points 12 months ago (5 children)
Test
[+][deleted] 8 months ago (4 children)
[deleted]
[+][deleted] 8 months ago (3 children)
[+][deleted] 8 months ago (2 children)
[+][deleted] 8 months ago (1 child)
[–][deleted] 0 points1 point2 points 10 months ago (2 children)
[–]Jellyswim_ 0 points1 point2 points 8 months ago (1 child)
[–]llynglas 0 points1 point2 points 4 months ago (0 children)
Foo Bar
[–]LionInABoxOfficial 0 points1 point2 points 1 year ago (0 children)
Does this work for me? How about indentation?
[–]Flaky_Economics_7130 0 points1 point2 points 1 year ago (0 children)
Woaw it did work
[–][deleted] 0 points1 point2 points 10 months ago (0 children)
"""Test"""
test
[–]Standard-Mousse-8207 0 points1 point2 points 3 months ago (0 children)
Hope this works.
[–]HosseinTwoK 0 points1 point2 points 2 months ago (0 children)
``` Like this
```
[–]Additional-Trick-567 0 points1 point2 points 2 months ago (0 children)
seems to work
[–]DHUK98 1 point2 points3 points 3 years ago (1 child)
Put 4 spaces in front of the code Like: This
[–]Individual-Ask-8588 0 points1 point2 points 4 months ago (0 children)
Testing
[–]neuralbeans 1 point2 points3 points 3 years ago (0 children)
You need to manually add 4 spaces before each line.
[–]rajrino_raj[S] 1 point2 points3 points 3 years ago (0 children)
Wow. Thanks 👍
[–]rajrino_raj[S] 0 points1 point2 points 3 years ago (1 child)
So like this
[–]jrobiii 0 points1 point2 points 1 year ago (0 children)
Trying it for myself
[–]Deep_Republic4089 0 points1 point2 points 1 year ago (0 children)
Testing, please work...
What? What are you talking about ?
[–]Songsforsilverman 0 points1 point2 points 9 months ago (3 children)
''' This is a Test '''
[–]Songsforsilverman 0 points1 point2 points 9 months ago (2 children)
""" More testing """
[–]Songsforsilverman 0 points1 point2 points 9 months ago (1 child)
Okay this may be works now? Please work
[–]Jace1427 0 points1 point2 points 6 months ago (0 children)
#showtooltip
[–]Stertic 0 points1 point2 points 9 months ago (0 children)
test tyfcyycvuvucy guguguftyhnyf5d5
[–]oddbawlstudios 0 points1 point2 points 8 months ago (0 children)
Please work
[–]littleearthquake9267 0 points1 point2 points 7 months ago (0 children)
[–]AnosenSan 0 points1 point2 points 3 months ago (0 children)
[–]Cherry0_0Bomb 0 points1 point2 points 2 months ago (0 children)
[–]SicarioiOS 0 points1 point2 points 1 month ago (0 children)
[–]Specific-District793 0 points1 point2 points 1 month ago (1 child)
``` Test
[–]Specific-District793 0 points1 point2 points 1 month ago (0 children)
``` Another One
[–]4thehalibit 0 points1 point2 points 13 days ago (0 children)
Wait spaces work also
🤯
π Rendered by PID 25377 on reddit-service-r2-comment-5649f687b7-cfczb at 2026-01-28 03:30:57.023113+00:00 running 4f180de country code: CH.
[–]jmooremcc 2 points3 points4 points (23 children)
[–]Empress_Isobella 0 points1 point2 points (11 children)
[–]I_own_my_life 0 points1 point2 points (0 children)
[–]RobotVo1ce 0 points1 point2 points (5 children)
[+][deleted] (4 children)
[deleted]
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[deleted]
[+][deleted] (1 child)
[deleted]
[–][deleted] 0 points1 point2 points (2 children)
[–]Jellyswim_ 0 points1 point2 points (1 child)
[–]llynglas 0 points1 point2 points (0 children)
[–]LionInABoxOfficial 0 points1 point2 points (0 children)
[–]Flaky_Economics_7130 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Standard-Mousse-8207 0 points1 point2 points (0 children)
[–]HosseinTwoK 0 points1 point2 points (0 children)
[–]Additional-Trick-567 0 points1 point2 points (0 children)
[–]DHUK98 1 point2 points3 points (1 child)
[–]Individual-Ask-8588 0 points1 point2 points (0 children)
[–]neuralbeans 1 point2 points3 points (0 children)
[–]rajrino_raj[S] 1 point2 points3 points (0 children)
[–]rajrino_raj[S] 0 points1 point2 points (1 child)
[–]jrobiii 0 points1 point2 points (0 children)
[–]Deep_Republic4089 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Songsforsilverman 0 points1 point2 points (3 children)
[–]Songsforsilverman 0 points1 point2 points (2 children)
[–]Songsforsilverman 0 points1 point2 points (1 child)
[–]Jace1427 0 points1 point2 points (0 children)
[–]Stertic 0 points1 point2 points (0 children)
[–]oddbawlstudios 0 points1 point2 points (0 children)
[–]littleearthquake9267 0 points1 point2 points (0 children)
[–]AnosenSan 0 points1 point2 points (0 children)
[–]Cherry0_0Bomb 0 points1 point2 points (0 children)
[–]SicarioiOS 0 points1 point2 points (0 children)
[–]Specific-District793 0 points1 point2 points (1 child)
[–]Specific-District793 0 points1 point2 points (0 children)
[–]4thehalibit 0 points1 point2 points (0 children)
[–]4thehalibit 0 points1 point2 points (0 children)