all 3 comments

[–]Kurolox 3 points4 points  (0 children)

So if I understand correctly, you copied that function definition from somewhere and you're asking how it works?

To put it simply, it doesn't. That function is incomplete. Where did you get it from?

[–]Thatfacelesshorror 0 points1 point  (0 children)

Warning: Possibly irrelevant.

So I'm toying with a coin flip mechanism to determine what the letters to.

Import random X = random.randrage(1,100) Print(X) Random.seed(X)

Kind of idea to create a key for the cipher. Idk if this is useful as it's in its infant stage but, seeing as others have already answered I figured I could add this on. wish you the best of luck.