SHARE
TWEET

random pasazer

LazySenpai Nov 24th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2. import names
  3.  
  4. for i in range(40):
  5.     kod='INSERT INTO "DBA"."Pasazer" ("ID_PASAZERA","IMIE","NAZWISKO","PESEL") VALUES('+str(i+21)+','
  6.     kod+='\''+names.get_first_name()+'\''+','
  7.     kod+='\''+names.get_last_name()+'\''+','
  8.     pesel=""
  9.     for i in range(11):
  10.         pesel+=str(random.randint(0,9))
  11.     kod+='\''+pesel+'\''+');'
  12.     print(kod)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top