Update ktp.py

master
Rahmat Nurfauzi 2019-04-24 07:08:30 +07:00 committed by GitHub
parent c697856fec
commit 7feb211c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -40,11 +40,10 @@ class Datatype:
return dtm.strftime('%d%m%y') return dtm.strftime('%d%m%y')
def generate_data(self): def generate_data(self):
print "[*] Generating data..." print "[*] Generating data..."
nik = '' nik = ''
for single_ni in range(0, 100000 * self.datasize): for single_nik in range(0, 100000 * self.datasize):
nik += "{}{}{}".format(self.generate_no_kk(),self.generate_random_date(),self.generate_no_urut()) + ', ' nik += "{}{}{}".format(self.generate_no_kk(),self.generate_random_date(),self.generate_no_urut()) + ', '
return nik return nik