Added PLZ and Tel modules
This commit is contained in:
13
src/data_generators/randomIMkII.py
Normal file
13
src/data_generators/randomIMkII.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from random import randint
|
||||
|
||||
def generatePLZ():
|
||||
plz = ""
|
||||
for i in range(0,5):
|
||||
plz = plz + str(randint(0,9))
|
||||
return plz
|
||||
|
||||
def generateTel():
|
||||
telephone = ""
|
||||
for i in range(0, 11):
|
||||
telephone = telephone + str(randint(0,9))
|
||||
return telephone
|
||||
Reference in New Issue
Block a user