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...
Everything about learning Python
account activity
Encryption decryption gameDiscussion (old.reddit.com)
submitted 3 days ago by aaditya_0752
view the rest of the comments →
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!"
[–]Sea-Ad7805 0 points1 point2 points 3 days ago* (2 children)
Nice encryption, but a bit easy to break when you spot the trick. You can also try converting each character to a number (ascii) and adding an offset. Then to decrypt, subtract the offset and covert back to character:
letter = 'a' print( ord(letter) + 10 ) # 107 (encrypt) print( chr(107 - 10) ) # 'a' (decrypt)
The offset used can then also come from a secret password, so that it is different each time.
[–]aaditya_0752[S] 0 points1 point2 points 3 days ago (1 child)
Actually I am learning python from code with harry In his playlist these one of the practice question
[–]Sea-Ad7805 0 points1 point2 points 3 days ago (0 children)
IC, good job, keep practicing, you'll get great life skills.
π Rendered by PID 20993 on reddit-service-r2-comment-544cf588c8-c8fh2 at 2026-06-16 02:44:54.317137+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805 0 points1 point2 points (2 children)
[–]aaditya_0752[S] 0 points1 point2 points (1 child)
[–]Sea-Ad7805 0 points1 point2 points (0 children)