>>> bool(random.randint(0,1))
True
>>> bool(random.randint(0,1))
True
>>>
>>> bool(random.randint(0,1))
False
>>> bool(random.randint(0,1))
False
>>> bool(random.randint(0,1))
True
for stats in stats:- это же жесть.
txt
["'Breaker' Morant (1980)/Brown, Bryan (I)/Henderson, Dick (II)/Gray, Ian (I)/Woodward, Edward/Thompson, Jack (I)/Procanin, Michael/Bernard, Hank/Nicholls, Jon/Knez, Bruno/Steele, Rob (I)/Lovett, Alan/Mullinar, Rod/Ball, Ray (I)/Rodger, Ron/Mann, Trevor (I)/Smith, Chris (I)/Cisse, Halifa/Cassell, Alan (I)/Osborn, Peter/Pfitzner, John/Waters, John (III)/Tingwell, Charles 'Bud'/Kiefel, Russell/Ball, Vincent (I)/Donovan, Terence (I)/Fitz-Gerald, Lewis/Currer, Norman/Meagher, Ray/Wilson, Frank (II)/Bell, Wayne (I)/Haywood, Chris (I)/Quin, Don/Peterson, Ron/Seidel, Nellie/West, Barbara/Reed, Maria/Horseman, Sylvia/Dick, Judy/Radford, Elspeth/Walton, Laurie (I)/Cornish, Bridget/Erskine, Ria", "'burbs, The (1989)/Jayne, Billy/Howard, Rance/Ducommun, Rick/Drier, Moosie/Dern, Bruce/Kramer, Jeffrey (I)/Gordon, Gale/Theodore, Brother/Hays, Gary/Hahn, Archie/Gibson, Henry (I)/Olsen, Dana (I)/Ajaye, Franklyn/Katt, Nicky/Danziger, Cory/Hanks, Tom/Scott, Carey/Gains, Courtney/Feldman, Corey/Stevenson, Bill (I)/Picardo, Robert/Gage, Kevin/Miller, Dick (I)/Turner, Arnold F./Davis, Sonny Carl/Haase, Heather (I)/Katz, Phyllis/Benner, Brenda/Fisher, Carrie/Stewart, Lynne Marie/Darbo, Patrika/Vorgan, Gigi/Schaal, Wendy/Newman, Tracy (I)/French, Leigh", "'Crocodile' Dundee II (1988)/Jbara, Gregory/Holt, Jim (I)/Soriero, Jim/Arvanites, Steven/Arriaga, Luis/Mercurio, Gus/Asai, Hisayo/Shams, Homay/Quinn, Colin/Folger, Mark/Rackman, Steve/Skilton, Gerry/Welsh, Kenneth/Saunders, Mark (I)/Krivak, Bryan/Dutton, Charles S./Cooper, Jim (I)/Ruiz, Anthony/Jerosa, Vincent/Batten, Tom (I)/Serbagi, Roger/Skinner, Doug/Maldonado, Edwin/Sandy, Bill/Hogan, Paul (I)/Dingo, Ernie/Cooper, Sam (I)/Root, Stephen (I)/Andrews, Jose/Guzm�n, Luis (I)/Creighton, Rhett/Segura, Fernando/Meillon, John/Carrasco, Carlos/Spindell, Ahvi/Vasquez, Alberto (I)/Boutsikaris, Dennis/Alexander, Jace/Ramsey, John (I)/Fern�ndez, Juan (I)/Rios, Julio/Yasuda, Doug/Crivello, Anthony (I)/Ubarry, Hechter/Cerullo, Al/Yamamoto, Ronald/Wilson, Alec/Bobbit, Betty/Castle, Angela/Kozlowski, Linda/Cox, Hannah/Essman, Susie/Rogers, Maria Antoinette/Ali, Tatyana/Rockafellow, Stacey/Blinco, Maggie/Sokol, Marilyn/Lane, Rita/Crittenden, Dianne", '*batteries not included (1987)/Aldredge, Tom/Boutsikaris, Dennis/Pankow, John/Dixon, MacIntyre/Vasquez, David (I)/Arceri, John/Hamer, Joe/Cronyn, Hume/DiSanti, John/Kurtz, Shelly (I)/McRae, Frank/LeGros, James/Raymond, Charles (II)/Greene, Michael (I)/Guzm�n, Luis (I)/Imparato, Jon/Carmine, Michael (II)/Dear, H. Clay/Colon, Riki/Santana, Jos� Angel/Renensland, Howard/Martinsen, Dick/Schwary, Ronald L./Schaal, Wendy/Belack, Doris/Hoffman, Jane (I)/Shoffner, Susan/Tandy, Jessica/Pe�a, Elizabeth/Grafe, Judy/Beardsley, Alice', '...And Justice for All (1979)/Williams, Jonathan (XI)/Patterson, Kenneth (I)/Clute, Sidney/Dunbar, Julius/Arnold, Victor (II)/North, Alan/Blackmore, Stephen/Chianese, Dominic/Nelson, Craig T./Zwerling, Darrell/Siebert, Charles (I)/Saiontz, Donald/Duncan, Angus/Tambor, Jeffrey/Aquino, John (I)/Christian, Robert/Andes, Keith/Davy, Walter (II)/Strasberg, Lee/Sliwka, Frank/Bogazianos, Vasili/Forsythe, John (I)/Morton, Joe/Scott, Newton/Currier, Terrence/Hollander, Jack/Gorrin, Michael/Levene, Sam (I)/Hertzler, J.G./Bryggman, Larry/Haymer, Johnny/Beck, Vincent/Pistilli, Carl/Polk, Bill (I)/Hawkins, McLindsey/Warden, Jack/Symonds, Robert/Waites, Thomas G./Harris, Baxter/Pacino, Al/Quinn, Tom (II)/Sanders, Beverly/Schurr, Cathleen/Council, Allisha/Wooten, Terri/Sawyer, Connie (I)/Lahti, Christine/Fredricks, Rita/Forbes, Angelyn/Cartwright, Bonita/Kohler, Molly', '10 (1979)/Alton, Walter George/Moore, Dudley/Jones, Sam J. (I)/Kassul, Art/Webber, Robert (I)/Rosenberg, Arthur/Colombatto, S. (I)/Hawker, John (I)/Sheehan, Doug/Calfa, Don/Linton, Jon/Tanney, Herb/Byrnes, Burke/Dennehy, Brian/Sullivan, Owen (I)/Goldman, Lorry/Showalter, Max/Champion, Michael/Hancock, John (I)/Lucking, William/Chappell, John (I)/Carr, Laurence/Anderson, Adam (I)/Daly, Rad/Noble, James (I)/L�pez, J. V�ctor/Chase, Gregory/Farren, Vivian/Money, Constance/Serena (I)/Galardo, Yolanda/Ashland, Camila/Hanson, Marcy/Royale, Candida/Arnette, Jeanetta/Andrews, Julie (I)/Chess, Lisa/Rush, Deborah/DeCarlo, Kitty/Bowman, Gail/Aron, Adrian/Derek, Bo/Wallace, Dee (II)/Crosby, Denise/White, Debbie (I)/Alter, Julie/Haven, Annette/Kiser, Virginia/Ellis, Antonia (I)/Clark, Ellen/Gorman, Mari/Farrell, Lynn/Cassidy, Sheila/Le May, Dorothy/Zak, Sherri/Volz, Nedra', "10 Things I Hate About You (1999)/Jackson, Greg (II)/Johnson, J.R./Dyer, Jesse/Mitchell, Daryl/Bennett, Tim (III)/Lacamara, Carlos/Hood, Brian/Houston, Tarance/Krumholtz, David/Kimbrough, Demegio/Therol, Aaron/Kountz, Daniel/Junger, Gil/Gordon-Levitt, Joseph/Leisure, David/Kennedy, Aidan/Muller, Travis/Mosley, Dennis/Riedmann, Eric (I)/Fraser, Cameron (I)/Maixner, Quinn/Karczag, Ari/Inglis, Joster/Brown, Nick (IV)/Laurance, Benjamin/Cease, Kyle/Keegan, Andrew/Eisenstein, Michael (II)/Thorpe, Joshua/Ledger, Heath/Mashburn, Brian/Miller, Larry (I)/Butler, Todd/Vukelic, Nick/Janney, Allison/Matthews, Amber/Powell, Monique/Hanley, Kay/Kajlich, Bianca/Evans, Alice (II)/Oleynik, Larisa/Union, Gabrielle/O'Neill, Bridget (III)/Mackay, Alisa/Gottlieb, Wendy/Taylor, Heather (I)/Quinn, Jelani/Stiles, Julia/Pratt, Susan May/Kenny, Laura", "100 Girls (2000)/Michael, Terence (I)/McNet, Mike/Courtney, Dustin/Green, Donald (II)/Ross, Bradley K./Payne, Allen (II)/Nagel, Seth/Madalone, Dennis/Davila, Edward/Green, Johnny (V)/Szmanda, Eric/Bleiberg, Ehud/Bustard, Chris (I)/Howard, Walker/Tucker, Jonathan (I)/DeBello, James/O'Hara, John (VIII)/Corpas, Londonn/Mars, Felicity/Steger, Julieanne/Herold, Kristin/Gray, Laura/Tyranny, Tanya/Castro, Lydia/Elahna, Sonnie/Severson, Candra/Lindquist, Kerstin/Mars, Rainbeau/Brandon, Madison/Anapau, Kristina/Heigl, Katherine/Bozilovic, Ivana/Thomas, Anita/Houston, Holly/Rey, Adrienne/Oleynik, Larisa/Mercedes, Alley/Hiraizumi, Gina/Huarte, Monica/Reeves, Kimberly/Fried, Cindy/Walters, Nancy (II)/Anderson, Lorie Katherine/McLaren, Reilly/Farrokh, Farinaz/Kwon, Crystal/Evangelisti, Noel/Krinsky, Tamara Lee/Chriqui, Emmanuelle/Clough, Patty/Rullo, Cynthia/Graham, Aimee/Angelini, Josephine/Billman, Ange/Carmichael, Sarah/Patterson, Deenah/Gonzalez, Esther (I)/Filipovic, Biljana/Ortiz, Dorlinda/James, Susan (II)/Khomute, Anna/Grant, Tanisha/Ramos, Stephanie/Hoover, Danielle/Pressly, Jaime/Musiala, Agnieszka/Ribisi, Marissa/Blair, Joan (III)/Pho, Lon/Strain, Maria/Marina, Anya/Fioretta, Amy", '101 Dalmatians (1996)/Benfield, John/Williams, Mark (I)/Shrapnel, John/Percival, Michael (I)/Readman, Andrew/Lacey, Joe/Welker, Frank/Peters, John (I)/McInnerny, Tim/Laurie, Hugh/Phillips, Neville/Stewart, Bill (I)/Paris, Gerald/Fraser, Hugh (I)/Mullard, Arthur/Weiss, Zohren/Haddigan, Mark/Evans, John (II)/Daniels, Jeff (I)/Capron, Brian/Braid, Hilda/Close, Glenn/Mason, Margery/Plowright, Joan/Richardson, Joely', '101 Reykjav�k (2000)/Korm�kur, Baltasar/Gu�j�nsson, Bjarki/Johnson, Elmar/Hattari, R�si/Gylfason, Halld�r/Ulfsson, �lafur Evert/Karlsson, Eyvindur/Sigur�arson, J�hann/Sigurbj�rnsson, Sigur�ur P�lmi/Armannsson, Benedikt Ingi/Jonsson, Hilmar/Erlendsson, Eyvindur/Gunnarsson, Gunnar H./�gisson, Steinar V./Sighvatsson, Sturla/�lafsson, �lafur Darri/Gunnarsson, �r�stur Le�/Haraldsson, Ingi/Baltasarsson, Baltasar Breki/Sigur�sson, Atli Rafn/Egilsson, Agnar J�n/�orsteinsson, J�n P�tur/Eyj�lfsson, Gunnar/Einarsson, Cosimo Heimir F./Einarsson, P�tur (I)/Valsson, Konr��/Gu�nason, Hilmir Sn�r/�orvaldsson, Gu�mundur Ingi/Backman, Edda Heidr�n/�lafsd�ttir, J�n�na/Heldad�ttir, Sigr��ur/Sigurbj�rnsd�ttir, S�l/Helgad�ttir, Dagbj�rt R�s/Hjaltad�ttir, Charlotta Maria/Gu�nad�ttir, Ragnhildur/Valdimarsd�ttir, Inga Maria/Vilhj�lmsd�ttir, �r��ur/�orvaldsd�ttir, El�n/Abendorth, Monica/Karlsd�ttir, Hanna Mar�a/Gunnarsd�ttir, Ingibj�rg/Yngvad�ttir, S�lr�n/Bj�rnsd�ttir, Halld�ra/Kristj�nsd�ttir, L�sa/Steinarsd�ttir, Berglind/Mar�asd�ttir, Gu�r�n �sk/Gunnarsd�ttir, Krist�n Hr�nn/J�kulsd�ttir, Esther/��rarinsd�ttir, Lilja N�tt/Bjarnad�ttir, Gu�r�n Mar�a/Abril, Victoria/Anderson, Fida Bonnie/Gunnarsd�ttir, Lilja Bj�rg', '102 Dalmatians (2000)/Gomez, John (II)/Willcox, Tim/Styles, John/Mason, Jack (III)/McInnerny, Tim/Crompton, Ben/West, Timothy/Hutchison, Nicholas (I)/Lawson, Thierry/Shale, Kerry/Brannick, Dick/Meaney, Nick/Boo Khoo, Ian/Richardson, Ian (I)/Gruffudd, Ioan/Simon, Charles (II)/Depardieu, G�rard/Blanc, JB/Idle, Eric/Carter, Jim (I)/Cook, Ron (I)/Hayley, Mike/Ball, Sherwood/Bluto, Tony/Horovitch, David/Futcher, Hugh/Annaiis, Delphine/Close, Glenn/Vale, Tessa/Watson, June/MacReady, Carol/Evans, Alice (I)/de Turckheim, Delphine/Phillips, Dorothea/Mills, Ann (I)/Kewer, Suzy/Bridgeman, Julia', '11:14 (2003)/Swayze, Patrick/Thomas, Henry (I)/Hanks, Colin/Hatosy, Shawn/Foster, Ben (I)/Gomez, Rick (II)/Heron, Blake/Sands, Stark/Gregg, Clark/Segel, Jason/Swank, Hilary/Hershey, Barbara/Cook, Rachael Leigh', '12 Angry Men (1957)/Voskovec, George/Sweeney, Joseph (I)/Bond, Rudy/Klugman, Jack/Cobb, Lee J./Binns, Ed/Marshall, E.G./Fonda, Henry/Begley, Ed (I)/Balsam, Martin/Nelson, Billy (I)/Kelly, James (V)/Webber, Robert (I)/Warden, Jack/Savoca, John/Fiedler, John (I)']
new_dict = {}
>>> for xxx in txt:
... new_set = set(xxx.split('/')[1:])
... new_dict.update({author: new_set - {author} for author in new_set})
b = {i % 100 for i in range(100)}
c = {(i + j) % 100 for i in range(100) for j in range(100)}
c.difference(b)
set()