Jump to content

Counting vol. 2


rMks

Recommended Posts

# count_number random generator 
import random

def counting_vol_2():
    while True:
        count = random.randint(1, 10000)
        if count == 5026:
            return count

print(counting_vol_2()) # 5026
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.