Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a module that generates a random letter in python

# -random letter generator-
import string
var1 = string.ascii_letters

import random
var2 = random.choice(string.ascii_letters)
print(var2)
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #module #generates #random #letter #python
ADD COMMENT
Topic
Name
9+2 =