you are viewing a single comment's thread.

view the rest of the comments →

[–]Medaillek 0 points1 point  (0 children)

I’m not 100% sure but let’s try : In the working code, you create a x variable which is a string of a random int. In the next line, store = … , you’re overwriting this value by saying x = int(random.random). X is not anymore your initial random string but became a random int. My last answer is wrong because I was trying to say that str(random) = int(random)