import random import time def asker(): while True: answer = input("How many pages would you like your transcript to be? ") try: answer = int(answer) except: print("You have not entered a valid number.") continue if answer < 2: print("You must enter a number greater than 1.") continue else: break return answer def createattorneys(): genders = ["MR.","MS."] print("Program creating plaintiff attorney gender.") plaintiffgender = random.choice(genders) print("Program creating defendant attorney gender.") defendantgender = random.choice(genders) print("Program loading last names.") lastnames = ["Day","DeJoy","Baldwin","Smith","Johnson","Benoit","Clinton","Bush","Lebovic","Frisolone","Pugliares","Edwards","Nunez","Dubson","Pimentel","Washington","Grey","Blair","Belmar","Wayne","Leo","Farber","Farbman","Peterson","Petersen","Tully","O'Connell","Cuevas","Rendon","Guitierrez","Spindler","Migliore","Black","Stein","Schmidt","Goldsmith","Goldstein","Deluna","Bryant","Baker","Ross","Lessig","Uygur","Kasparian","Jackson","Ewart","Haq","Hussein","Iqbal","Twombly","Silberger","Payonk","Kerins","Kavanaugh","Cavanaugh","Kerrington","Messina","Rossman","Roth","Gardner","Garner","Floyd","Tucker","Trevino","Montero","Raynor","Hendricks","Best","Wellington","Yeung","Young","Brockle","Costa","Kramsky","Packer","Subin","Weiss","O'Leary","Mason","Teipel","Weston","Tursi","Thimbrel","Pachecho","Singh","Nesbit","Herrada","Ryan","Carter","Rothenberg"] print("Program creating plaintiff attorney last name.") plaintifflastname = random.choice(lastnames) print("Program creating defendant attorney last name.") defendantlastname = random.choice(lastnames) print("Print program writing attorneys to memory.") attorneys = [plaintiffgender,plaintifflastname,defendantgender,defendantlastname] return attorneys def createtitle(attorneys): space = " " courts = ["Supreme","District","Civil","Criminal","Superior"] states = ["Alaska", "Alabama", "Arkansas", "American Samoa", "Arizona", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Iowa", "Idaho", "Illinois", "Indiana", "Kansas", "Kentucky", "Louisiana", "Massachusetts", "Maryland", "Maine", "Michigan", "Minnesota", "Missouri", "Mississippi", "Montana", "North Carolina", "North Dakota", "Nebraska", "New Hampshire", "New Jersey", "New Mexico", "Nevada", "New York", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Puerto Rico", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Virginia", "Virgin Islands", "Vermont", "Washington", "Wisconsin", "West Virginia", "Wyoming"] linething = "- - - - - - - - - - - - -" firstnames = ["Brian","Chris","Christopher","Josh","Joshua","Rich","Richard","Bryan","Patrick","Joe","Joseph","Briana","George","Georgina Ford","Jolene","Jackie","Jack","Patty","Alvin","Michael","Kyle","Michaela","Myra","Joanne","Joan","Harry","Harold","Stu","Stuart","Steve","Steven","Stephen","Stephanie","Stefan","Steph","Stefanie","Alfred","Christina","Ryan","Rhianna","Mickey","Nikki","Nicole","Billy","Bill","William","Bob","Robert","Kelly","Kristina","Christian","Muhammed","Mohammad","Greg","Gregory","Theresa","Marina","Tyeesha","Tyquan","Tziyonah","Ephraim","Dalia","Frank","Quaverly","Gail","Talia","Vincent","Veronica","Veruca","Edgar","Esther","David","Diane","Leslie","Laura","Lisa","Maureen","Ophelia","Nancy","Mary Ann","Maryanne","Stella","Constantine"] lastnames = ["Day","DeJoy","Baldwin","Smith","Johnson","Benoit","Clinton","Bush","Lebovic","Frisolone","Pugliares","Edwards","Nunez","Dubson","Pimentel","Washington","Grey","Blair","Belmar","Wayne","Leo","Farber","Farbman","Peterson","Petersen","Tully","O'Connell","Cuevas","Rendon","Guitierrez","Spindler","Migliore","Black","Stein","Schmidt","Goldsmith","Goldstein","Deluna","Bryant","Baker","Ross","Lessig","Uygur","Kasparian","Jackson","Ewart","Haq","Hussein","Iqbal","Twombly","Silberger","Payonk","Kerins","Kavanaugh","Cavanaugh","Kerrington","Messina","Rossman","Roth","Gardner","Garner","Floyd","Tucker","Trevino","Montero","Raynor","Hendricks","Best","Wellington","Yeung","Young","Brockle","Costa","Kramsky","Packer","Subin","Weiss","O'Leary","Mason","Teipel","Weston","Tursi","Thimbrel","Pachecho","Singh","Nesbit","Herrada","Ryan","Carter","Rothenberg"] plaintiff = "Plaintiff" defendant = "Defendant" am = "a.m." pm = "p.m." amorpm = [am,pm] listoftimes = ['1:00','1:01','1:02','1:03','1:04','1:05','1:06','1:07','1:08','1:09','1:10','1:11','1:12','1:13','1:14','1:15','1:16','1:17','1:18','1:19','1:20','1:21','1:22','1:23','1:24','1:25','1:26','1:27','1:28','1:29','1:30','1:31','1:32','1:33','1:34','1:35','1:36','1:37','1:38','1:39','1:40','1:41','1:42','1:43','1:44','1:45','1:46','1:47','1:48','1:49','1:50','1:51','1:52','1:53','1:54','1:55','1:56','1:57','1:58','1:59','2:00','2:01','2:02','2:03','2:04','2:05','2:06','2:07','2:08','2:09','2:10','2:11','2:12','2:13','2:14','2:15','2:16','2:17','2:18','2:19','2:20','2:21','2:22','2:23','2:24','2:25','2:26','2:27','2:28','2:29','2:30','2:31','2:32','2:33','2:34','2:35','2:36','2:37','2:38','2:39','2:40','2:41','2:42','2:43','2:44','2:45','2:46','2:47','2:48','2:49','2:50','2:51','2:52','2:53','2:54','2:55','2:56','2:57','2:58','2:59','3:00','3:01','3:02','3:03','3:04','3:05','3:06','3:07','3:08','3:09','3:10','3:11','3:12','3:13','3:14','3:15','3:16','3:17','3:18','3:19','3:20','3:21','3:22','3:23','3:24','3:25','3:26','3:27','3:28','3:29','3:30','3:31','3:32','3:33','3:34','3:35','3:36','3:37','3:38','3:39','3:40','3:41','3:42','3:43','3:44','3:45','3:46','3:47','3:48','3:49','3:50','3:51','3:52','3:53','3:54','3:55','3:56','3:57','3:58','3:59','4:00','4:01','4:02','4:03','4:04','4:05','4:06','4:07','4:08','4:09','4:10','4:11','4:12','4:13','4:14','4:15','4:16','4:17','4:18','4:19','4:20','4:21','4:22','4:23','4:24','4:25','4:26','4:27','4:28','4:29','4:30','4:31','4:32','4:33','4:34','4:35','4:36','4:37','4:38','4:39','4:40','4:41','4:42','4:43','4:44','4:45','4:46','4:47','4:48','4:49','4:50','4:51','4:52','4:53','4:54','4:55','4:56','4:57','4:58','4:59','5:00','5:01','5:02','5:03','5:04','5:05','5:06','5:07','5:08','5:09','5:10','5:11','5:12','5:13','5:14','5:15','5:16','5:17','5:18','5:19','5:20','5:21','5:22','5:23','5:24','5:25','5:26','5:27','5:28','5:29','5:30','5:31','5:32','5:33','5:34','5:35','5:36','5:37','5:38','5:39','5:40','5:41','5:42','5:43','5:44','5:45','5:46','5:47','5:48','5:49','5:50','5:51','5:52','5:53','5:54','5:55','5:56','5:57','5:58','5:59','6:00','6:01','6:02','6:03','6:04','6:05','6:06','6:07','6:08','6:09','6:10','6:11','6:12','6:13','6:14','6:15','6:16','6:17','6:18','6:19','6:20','6:21','6:22','6:23','6:24','6:25','6:26','6:27','6:28','6:29','6:30','6:31','6:32','6:33','6:34','6:35','6:36','6:37','6:38','6:39','6:40','6:41','6:42','6:43','6:44','6:45','6:46','6:47','6:48','6:49','6:50','6:51','6:52','6:53','6:54','6:55','6:56','6:57','6:58','6:59','7:00','7:01','7:02','7:03','7:04','7:05','7:06','7:07','7:08','7:09','7:10','7:11','7:12','7:13','7:14','7:15','7:16','7:17','7:18','7:19','7:20','7:21','7:22','7:23','7:24','7:25','7:26','7:27','7:28','7:29','7:30','7:31','7:32','7:33','7:34','7:35','7:36','7:37','7:38','7:39','7:40','7:41','7:42','7:43','7:44','7:45','7:46','7:47','7:48','7:49','7:50','7:51','7:52','7:53','7:54','7:55','7:56','7:57','7:58','7:59','8:00','8:01','8:02','8:03','8:04','8:05','8:06','8:07','8:08','8:09','8:10','8:11','8:12','8:13','8:14','8:15','8:16','8:17','8:18','8:19','8:20','8:21','8:22','8:23','8:24','8:25','8:26','8:27','8:28','8:29','8:30','8:31','8:32','8:33','8:34','8:35','8:36','8:37','8:38','8:39','8:40','8:41','8:42','8:43','8:44','8:45','8:46','8:47','8:48','8:49','8:50','8:51','8:52','8:53','8:54','8:55','8:56','8:57','8:58','8:59','9:00','9:01','9:02','9:03','9:04','9:05','9:06','9:07','9:08','9:09','9:10','9:11','9:12','9:13','9:14','9:15','9:16','9:17','9:18','9:19','9:20','9:21','9:22','9:23','9:24','9:25','9:26','9:27','9:28','9:29','9:30','9:31','9:32','9:33','9:34','9:35','9:36','9:37','9:38','9:39','9:40','9:41','9:42','9:43','9:44','9:45','9:46','9:47','9:48','9:49','9:50','9:51','9:52','9:53','9:54','9:55','9:56','9:57','9:58','9:59','10:00','10:01','10:02','10:03','10:04','10:05','10:06','10:07','10:08','10:09','10:10','10:11','10:12','10:13','10:14','10:15','10:16','10:17','10:18','10:19','10:20','10:21','10:22','10:23','10:24','10:25','10:26','10:27','10:28','10:29','10:30','10:31','10:32','10:33','10:34','10:35','10:36','10:37','10:38','10:39','10:40','10:41','10:42','10:43','10:44','10:45','10:46','10:47','10:48','10:49','10:50','10:51','10:52','10:53','10:54','10:55','10:56','10:57','10:58','10:59','11:00','11:01','11:02','11:03','11:04','11:05','11:06','11:07','11:08','11:09','11:10','11:11','11:12','11:13','11:14','11:15','11:16','11:17','11:18','11:19','11:20','11:21','11:22','11:23','11:24','11:25','11:26','11:27','11:28','11:29','11:30','11:31','11:32','11:33','11:34','11:35','11:36','11:37','11:38','11:39','11:40','11:41','11:42','11:43','11:44','11:45','11:46','11:47','11:48','11:49','11:50','11:51','11:52','11:53','11:54','11:55','11:56','11:57','11:58','11:59','12:00','12:01','12:02','12:03','12:04','12:05','12:06','12:07','12:08','12:09','12:10','12:11','12:12','12:13','12:14','12:15','12:16','12:17','12:18','12:19','12:20','12:21','12:22','12:23','12:24','12:25','12:26','12:27','12:28','12:29','12:30','12:31','12:32','12:33','12:34','12:35','12:36','12:37','12:38','12:39','12:40','12:41','12:42','12:43','12:44','12:45','12:46','12:47','12:48','12:49','12:50','12:51','12:52','12:53','12:54','12:55','12:56','12:57','12:58','12:59'] listofdays = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30'] listofmonths = ["January","February","March","April","May","June","July","August","September","October","November","December","Septober","Aprimay","Jugust","Decembary"] listofyears = ['1900','1901','1902','1903','1904','1905','1906','1907','1908','1909','1910','1911','1912','1913','1914','1915','1916','1917','1918','1919','1920','1921','1922','1923','1924','1925','1926','1927','1928','1929','1930','1931','1932','1933','1934','1935','1936','1937','1938','1939','1940','1941','1942','1943','1944','1945','1946','1947','1948','1949','1950','1951','1952','1953','1954','1955','1956','1957','1958','1959','1960','1961','1962','1963','1964','1965','1966','1967','1968','1969','1970','1971','1972','1973','1974','1975','1976','1977','1978','1979','1980','1981','1982','1983','1984','1985','1986','1987','1988','1989','1990','1991','1992','1993','1994','1995','1996','1997','1998','1999','2000','2001','2002','2003','2004','2005','2006','2007','2008','2009','2010','2011','2012','2013','2014','2015','2016','2017','2018','2019','2020','2021','2022','2023','2024','2025','2026','2027','2028','2029','2030','2031','2032','2033','2034','2035','2036','2037','2038','2039','2040','2041','2042','2043','2044','2045','2046','2047','2048','2049','2050','2051','2052','2053','2054','2055','2056','2057','2058','2059','2060','2061','2062','2063','2064','2065','2066','2067','2068','2069','2070','2071','2072','2073','2074','2075','2076','2077','2078','2079','2080','2081','2082','2083','2084','2085','2086','2087','2088','2089','2090','2091','2092','2093','2094','2095','2096','2097','2098','2099','2100'] listofstreets = ['1st','2nd','3rd','4th','5th','6th','7th','8th','9th','10th','11st','12nd','13rd','14th','15th','16th','17th','18th','19th','20th','21st','22nd','23rd','24th','25th','26th','27th','28th','29th','30th','31st','32nd','33rd','34th','35th','36th','37th','38th','39th','40th','41st','42nd','43rd','44th','45th','46th','47th','48th','49th','50th','51st','52nd','53rd','54th','55th','56th','57th','58th','59th','60th','61st','62nd','63rd','64th','65th','66th','67th','68th','69th','70th','71st','72nd','73rd','74th','75th','76th','77th','78th','79th','80th','81st','82nd','83rd','84th','85th','86th','87th','88th','89th','90th','91st','92nd','93rd','94th','95th','96th','97th','98th','99th'] listofaddresses1 = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45','46','47','48','49','50','51','52','53','54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74','75','76','77','78','79','80','81','82','83','84','85','86','87','88','89','90','91','92','93','94','95','96','97','98','99','100','101','102','103','104','105','106','107','108','109','110','111','112','113','114','115','116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131','132','133','134','135','136','137','138','139','140','141','142','143','144','145','146','147','148','149','150','151','152','153','154','155','156','157','158','159','160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','204','205','206','207','208','209','210','211','212','213','214','215','216','217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243','244','245','246','247','248','249','250'] listofaddresses2 = ['251','252','253','254','255','256','257','258','259','260','261','262','263','264','265','266','267','268','269','270','271','272','273','274','275','276','277','278','279','280','281','282','283','284','285','286','287','288','289','290','291','292','293','294','295','296','297','298','299','300','301','302','303','304','305','306','307','308','309','310','311','312','313','314','315','316','317','318','319','320','321','322','323','324','325','326','327','328','329','330','331','332','333','334','335','336','337','338','339','340','341','342','343','344','345','346','347','348','349','350','351','352','353','354','355','356','357','358','359','360','361','362','363','364','365','366','367','368','369','370','371','372','373','374','375','376','377','378','379','380','381','382','383','384','385','386','387','388','389','390','391','392','393','394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419','420','421','422','423','424','425','426','427','428','429','430','431','432','433','434','435','436','437','438','439','440','441','442','443','444','445','446','447','448','449','450','451','452','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469','470','471','472','473','474','475','476','477','478','479','480','481','482','483','484','485','486','487','488','489','490','491','492','493','494','495','496','497','498','499','500','501','502','503','504','505','506','507','508','509','510','511','512','513','514','515','516','517','518','519','520','521','522','523','524','525','526','527','528','529','530','531','532','533','534','535','536','537','538','539','540','541','542','543','544','545','546','547','548','549','550','551','552','553','554','555','556','557','558','559','560','561','562','563','564','565','566','567','568','569','570','571','572','573','574','575','576','577','578','579','580','581','582','583','584','585','586','587','588','589','590','591','592','593','594','595','596','597','598','599','600','601','602','603','604','605','606','607','608','609','610','611','612','613','614','615','616','617','618','619','620','621','622','623','624','625','626','627','628','629','630','631','632','633','634','635','636','637','638','639','640','641','642','643','644','645','646','647','648','649','650','651','652','653','654','655','656','657','658','659','660','661','662','663','664','665','666','667','668','669','670','671','672','673','674','675','676','677','678','679','680','681','682','683','684','685','686','687','688','689','690','691','692','693','694','695','696','697','698','699','700','701','702','703','704','705','706','707','708','709','710','711','712','713','714','715','716','717','718','719','720','721','722','723','724','725','726','727','728','729','730','731','732','733','734','735','736','737','738','739','740','741','742','743','744','745','746','747','748','749','750','751','752','753','754','755','756','757','758','759','760','761','762','763','764','765','766','767','768','769','770','771','772','773','774','775','776','777','778','779','780','781','782','783','784','785','786','787','788','789','790','791','792','793','794','795','796','797','798','799','800','801','802','803','804','805','806','807','808','809','810','811','812','813','814','815','816','817','818','819','820','821','822','823','824','825','826','827','828','829','830','831','832','833','834','835','836','837','838','839','840','841','842','843','844','845','846','847','848','849','850','851','852','853','854','855','856','857','858','859','860','861','862','863','864','865','866','867','868','869','870','871','872','873','874','875','876','877','878','879','880','881','882','883','884','885','886','887','888','889','890','891','892','893','894','895','896','897','898','899','900','901','902','903','904','905','906','907','908','909','910','911','912','913','914','915','916','917','918','919','920','921','922','923','924','925','926','927','928','929','930','931','932','933','934','935','936','937','938','939','940','941','942','943','944','945','946','947','948','949','950','951','952','953','954','955','956','957','958','959','960','961','962','963','964','965','966','967','968','969','970','971','972','973','974','975','976','977','978','979','980','981','982','983','984','985','986','987','988','989','990','991','992','993','994','995','996','997','998','999'] listofaddresses = listofaddresses1 + listofaddresses2 streettypelist = ["Street","Avenue","Parkway","Place","Boulevard"] listofproceedings = ["Examination Before Trial","Deposition","Examination Under Oath","Arbitration","Testimony","Trial"] witnessfirst = random.choice(firstnames) witnesslast = random.choice(lastnames) witnessname = (witnessfirst + space + witnesslast) #gender then last plffirst = random.choice(firstnames) dftfirst = random.choice(firstnames) plaintiffappearance = (attorneys[0] + " " + plffirst + " " + attorneys[1]) space = " " defendantappearance = (attorneys[2] + space + dftfirst + space + attorneys[3]) plaintifffirstname = random.choice(firstnames) defendantfirstname = random.choice(firstnames) plaintifflastname = random.choice(lastnames) defendantlastname = random.choice(lastnames) plaintifffullname = plaintifffirstname + space + plaintifflastname defendantfullname = defendantfirstname + space + defendantlastname dayof = random.choice(listofdays) monthof = random.choice(listofmonths) timeof = (random.choice(listoftimes) + space + random.choice(amorpm)) yearof = random.choice(listofyears) date = (monthof + space + dayof + ", " + yearof) court = random.choice(courts) state = random.choice(states) proceeding = random.choice(listofproceedings) officechoices = ["Law Office","Law Firm","Attorney At Law"] plaintifflawoffice = (random.choice(plaintiffappearance) + space + random.choice(officechoices)) defendantlawoffice = (random.choice(defendantappearance) + space + random.choice(officechoices)) plaintiffnumber = random.choice(listofaddresses) defendantnumber = random.choice(listofaddresses) plaintiffstreet = random.choice(listofstreets) defendantstreet = random.choice(listofstreets) plaintifftype = random.choice(streettypelist) defendanttype = random.choice(streettypelist) plaintiffaddress = (plaintiffnumber + space + plaintiffstreet + space + plaintifftype) defendantaddress = (defendantnumber + space + defendantstreet + space + defendanttype) listofcities = ["Somewhere","Anywhere","Undisclosed Location","Top Secret"] plaintiffcity = random.choice(listofcities) plaintiffstate = random.choice(states) plaintiffzip = random.randint(10000,60000) plaintiffzip = str(plaintiffzip) plaintiffaddress2 = (plaintiffcity + ", " + space + plaintiffstate + space + plaintiffzip) defendantcity = random.choice(listofcities) defendantstate = random.choice(states) defendantzip = random.randint(10000,60000) defendantzip = str(defendantzip) defendantaddress2 = (defendantcity + ", " + space + defendantstate + space + defendantzip) print("Generating title.") title = (court + space + """Court of the State of """ + state + """ County of Zimbabwe """ + linething + """ """ + plaintifffullname + """, Plaintiff, -against- """ + defendantfullname + """, Defendant. """ + linething + """ """ + date + """ """ + timeof + """ """ + plaintifflawoffice + """ Attorneys for the Plaintiff """ + plaintiffaddress + """ """ + plaintiffaddress2 + """ BY: """ + plaintiffappearance + """ """ + defendantlawoffice + """ Attorneys for the Defendant """ + defendantaddress + """ """ + defendantaddress2 + """ BY: """ + defendantappearance + """ """ + proceeding + """ of """ + witnessname + """, a witness herein, taken at the above-mentioned place and time, solemnly sworn, yadda yadda nobody cares about state deposition officer rules.""") try: return title except: print("Catastrophic error in title creation.") def createtext(pages,attorneys,title): space = " " counter = 0 try: words = pages * 340 except: print("Catastrophic error in create text module. Tell creator.") possiblewords = ["the","and","accident","incident","therefore","hereinafter","contract","left","right","up","down","arm","leg","head","knee","knees","shoulder","elbow","elbows","shoulders","pumpkin","terrific","fantastic","okay","yes","no","maybe","I","do","not","recall","memory","if","you","understand","repeat","or","rephrase","speak","one","at","a","time","very","hard","for","court","reporter","to","too","two","three","one","four","five","six","seven","eight","nine","ten","million","thousand","hundred","big","small","lot","little","less","more","tall","short","taller","smaller","bigger","brighter","well","lit","lemon","red","blue","black","white","green","yellow","worker","insurance","injury","fraud","blackmail","assault","quid","pro","quo","harassment","law","lingering","malingering","mastication","objection","record"] att1col = (attorneys[0] + space + attorneys[1]) att2col = (attorneys[2] + space + attorneys[3]) question = "Q." answer = "A." punctuate = [True,False,False,False,False,False,False,False,False,False,False,False,False,False,False] punctuationchoices = ["?","."] serial = random.randint(1000,999999) serials = str(serial) with open("GeneratedTranscript" + serials + ".txt" ,"w") as t: t.write(title) t.write(""" Q. """) switch = "a" while counter < words: designatebreak = counter/15 word = random.choice(possiblewords) t.write(word) shouldpunctuate = random.choice(punctuate) punctuation = random.choice(punctuationchoices) checkbreak = designatebreak.is_integer() counter += 1 if switch == "a" and checkbreak == True: desig = (""" A. """) switch = "b" elif switch == "b" and checkbreak == True: desig = (""" Q. """) switch = "a" if checkbreak == True: t.write(punctuation) t.write(desig) elif shouldpunctuate == True: t.write(punctuation) t.write(space) print("Transcript complete.") bigcount = 0 while bigcount < 1000: bigcount += 1 attorneys = createattorneys() title = createtitle(attorneys) test = True if test == True: pages = 300 else: pages = asker() text = createtext(pages,attorneys,title)