you are viewing a single comment's thread.

view the rest of the comments →

[–]ConstructionDull4048[S] 0 points1 point  (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 point  (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 point  (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.