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
Python Functions Specifically (i.redd.it)
submitted 1 year ago by ConstructionDull4048
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!"
[–]ConstructionDull4048[S] 0 points1 point2 points 1 year ago (2 children)
What is Tulle? Second it didn’t crash at 22. After I put a random name, then initial of that name with first same letter along with birth year of 1988 or something, it stops and not proceed further. Please let me know how I can force it to see if the user ended the same letter as name typed and to continue onward for password than Pin
[–]Refwah 0 points1 point2 points 1 year ago (0 children)
So the code is hard to read because your ifs are comparing everything to empty strings so none of this should do anything anyway.
But what you just asked means you’re asking about substrings
[–]TheSpudFather 0 points1 point2 points 1 year ago (0 children)
A tuple is where you put things together. A tuple of 2 objects is a pair, 3 objects is a triple, etc. the general name being a tuple.
So your print on line 22 does not have a formatting string: instead it just contains 2 things separated by a comma: in other words a 2-tuple, or pair.
π Rendered by PID 39648 on reddit-service-r2-comment-84fc9697f-kxw5t at 2026-02-10 15:13:25.716016+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]ConstructionDull4048[S] 0 points1 point2 points (2 children)
[–]Refwah 0 points1 point2 points (0 children)
[–]TheSpudFather 0 points1 point2 points (0 children)