Author

Topic: python why it is not loop? (Read 130 times)

jr. member
Activity: 56
Merit: 3
September 12, 2019, 01:11:42 PM
#3
What is your question, and what does it have to do with Bitcoin?

If this is just a general python question, try asking on https://stackoverflow.com/

i want it to generate in loop 10 times but it's not

i search on stackoverflow and i edit it from multiples topics there

ook
staff
Activity: 3458
Merit: 6793
Just writing some code
September 12, 2019, 12:25:57 PM
#2
What is your question, and what does it have to do with Bitcoin?

If this is just a general python question, try asking on https://stackoverflow.com/
jr. member
Activity: 56
Merit: 3
September 12, 2019, 10:54:52 AM
#1


Code:
import string
import random
import time


def Hex64(size=64, chars=string.ascii_uppercase + string.digits):
return ''.join(random.choice('0123456789abcdef') for _ in range(size))

for i in range (0,10):   
        out = Hex64()

print(out)
Jump to: