Bitcoin Forum
September 15, 2019, 05:27:41 PM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: python why it is not loop?  (Read 26 times)
crofrihosl
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
September 12, 2019, 03:54:52 PM
 #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)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Staff
Legendary
*
Offline Offline

Activity: 1890
Merit: 2729


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
September 12, 2019, 05: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/

crofrihosl
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
September 12, 2019, 06: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
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!