User:Luther Blissett/assignment

From XPUB & Lens-Based wiki
< User:Luther Blissett
Revision as of 08:33, 3 November 2011 by Marie Wocher (talk | contribs) (Created page with "Pierre-Auguste Renoir and Marc Chagall are artist Raphael and Paul Cezanne and Tiziano Vecelli and Joan Miro i Ferra and Paul Jackson Pollock and Gustav Klimt and Albrecht Duerer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pierre-Auguste Renoir and Marc Chagall are artist Raphael and Paul Cezanne and Tiziano Vecelli and Joan Miro i Ferra and Paul Jackson Pollock and Gustav Klimt and Albrecht Duerer and Edward Hopper and Wassily Kandinsky and Johan Vermeer and Paul Klee and Edvard Munch and Francisco Jose de Goya are painter Raphael are architect Paul Cezanne and Paul Cezanne and Tiziano Vecelli and Joan Miro i Ferra and Paul Jackson Pollock and Gustav Klimt and Albrecht Duerer and Edward Hopper and Wassily Kandinsky and Johan Vermeer and Paul Klee and Edvard Munch and Francisco Jose de Goya are painter Wassily Kandinsky and Paul Cezanne and Tiziano Vecelli and Joan Miro i Ferra and Paul Jackson Pollock and Gustav Klimt and Albrecht Duerer and Edward Hopper and Wassily Kandinsky and Johan Vermeer and Paul Klee and Edvard Munch and Francisco Jose de Goya are painter Wassily Kandinsky and Wassily Kandinsky and Albrecht Duerer are theorist Albrecht Duerer and Paul Cezanne and Tiziano Vecelli and Joan Miro i Ferra and Paul Jackson Pollock and Gustav Klimt and Albrecht Duerer and Edward Hopper and Wassily Kandinsky and Johan Vermeer and Paul Klee and Edvard Munch and Francisco Jose de Goya are painter Albrecht Duerer and Albrecht Duerer and Edward Hopper and Edvard Munch and Francisco Jose de Goya are printmaker Albrecht Duerer and Albrecht Duerer are mathematician Albrecht Duerer and Albrecht Duerer are engraver Albrecht Duerer and Wassily Kandinsky and Albrecht Duerer are theorist

===========================================================
  1. !/usr/local/bin/python

import sys, string

eins =["Pierre-Auguste Renoir", "artist","","","","",""] zwei =["Raphael", "painter","architect","","","",""] drei =["Paul Cezanne", "painter","","","","",""] vier =["Marc Chagall", "artist","","","","",""] fuenf =["Tiziano Vecelli", "painter","","","","",""] sechs =["Joan Miro i Ferra", "painter","sculptor","","","",""] sieben =["Paul Jackson Pollock", "painter","","","","",""] acht =["Gustav Klimt", "painter","","","","",""] neun =["Albrecht Duerer", "painter","printmaker","mathematician","engraver","theorist",""] zehn =["Edward Hopper","painter","printmaker","","","",""] elf =["Wassily Kandinsky","painter","theorist","","","",""] zwoelf = ["Johan Vermeer", "painter","","","","",""] dreizehn = ["Paul Klee", "painter","","","","",""] vierzehn = ["Edvard Munch", "painter","printmaker","forerunner","","",""] fuenfzehn = ["Francisco Jose de Goya", "painter","printmaker","","","",""] sechzehn = ["Janet Fish", "painter","","","","",""] siebzehn = ["Janet Fish", "painter","","","","",""]



print eins[0] for i in range(1,7): if eins[i]!="": for j in range(1,7): if eins[i]==zwei[j]: print """and """ + zwei[0] if eins[i]==drei[j]: print """and """ + drei[0] if eins[i]==vier[j]: print """and """ + vier[0] if eins[i]==fuenf[j]: print """and """ + fuenf[0] if eins[i]==sechs[j]: print """and """ + sechs[0] if eins[i]==sieben[j]: print """and """ + sieben[0] if eins[i]==acht[j]: print """and """ + acht[0] if eins[i]==neun[j]: print """and """ + neun[0] if eins[i]==zehn[j]: print """and """ + zehn[0] if eins[i]==elf[j]: print """and """ + elf[0] if eins[i]==zwoelf[j]: print """and """ + zwoelf[0] if eins[i]==dreizehn[j]: print """and """ + dreizehn[0] if eins[i]==vierzehn[j]: print """and """ + vierzehn[0] if eins[i]==fuenfzehn[j]: print """and """ + fuenfzehn[0] print """are """ + eins[i]


for i in range(1,7): if zwei[i]!="": print zwei[0] for j in range(1,7): if zwei[i]==eins[j]: print """and """ + eins[0] if zwei[i]==drei[j]: print """and """ + drei[0] if zwei[i]==vier[j]: print """and """ + vier[0] if zwei[i]==fuenf[j]: print """and """ + fuenf[0] if zwei[i]==sechs[j]: print """and """ + sechs[0] if zwei[i]==sieben[j]: print """and """ + sieben[0] if zwei[i]==acht[j]: print """and """ + acht[0] if zwei[i]==neun[j]: print """and """ + neun[0] if zwei[i]==zehn[j]: print """and """ + zehn[0] if zwei[i]==elf[j]: print """and """ + elf[0] if zwei[i]==zwoelf[j]: print """and """ + zwoelf[0] if zwei[i]==dreizehn[j]: print """and """ + dreizehn[0] if zwei[i]==vierzehn[j]: print """and """ + vierzehn[0] if zwei[i]==fuenfzehn[j]: print """and """ + fuenfzehn[0] print """are """ + zwei[i]

for i in range(1,7): if drei[i]!="": print drei[0] for j in range(1,7): if drei[i]==eins[j]: print """and """ + eins[0] if drei[i]==drei[j]: print """and """ + drei[0] if drei[i]==vier[j]: print """and """ + vier[0] if drei[i]==fuenf[j]: print """and """ + fuenf[0] if drei[i]==sechs[j]: print """and """ + sechs[0] if drei[i]==sieben[j]: print """and """ + sieben[0] if drei[i]==acht[j]: print """and """ + acht[0] if drei[i]==neun[j]: print """and """ + neun[0] if drei[i]==zehn[j]: print """and """ + zehn[0] if drei[i]==elf[j]: print """and """ + elf[0] if drei[i]==zwoelf[j]: print """and """ + zwoelf[0] if drei[i]==dreizehn[j]: print """and """ + dreizehn[0] if drei[i]==vierzehn[j]: print """and """ + vierzehn[0] if drei[i]==fuenfzehn[j]: print """and """ + fuenfzehn[0] print """are """ + drei[i]


for i in range(1,7): if elf[i]!="": print elf[0] for j in range(1,7): if elf[i]==eins[j]: print """and """ + eins[0] if elf[i]==drei[j]: print """and """ + drei[0] if elf[i]==vier[j]: print """and """ + vier[0] if elf[i]==fuenf[j]: print """and """ + fuenf[0] if elf[i]==sechs[j]: print """and """ + sechs[0] if elf[i]==sieben[j]: print """and """ + sieben[0] if elf[i]==acht[j]: print """and """ + acht[0] if elf[i]==neun[j]: print """and """ + neun[0] if elf[i]==zehn[j]: print """and """ + zehn[0] if elf[i]==elf[j]: print """and """ + elf[0] if elf[i]==zwoelf[j]: print """and """ + zwoelf[0] if elf[i]==dreizehn[j]: print """and """ + dreizehn[0] if elf[i]==vierzehn[j]: print """and """ + vierzehn[0] if elf[i]==fuenfzehn[j]: print """and """ + fuenfzehn[0] print """are """ + elf[i]


for i in range(1,7): if neun[i]!="": print neun[0] for j in range(1,7): if neun[i]==eins[j]: print """and """ + eins[0] if neun[i]==drei[j]: print """and """ + drei[0] if neun[i]==vier[j]: print """and """ + vier[0] if neun[i]==fuenf[j]: print """and """ + fuenf[0] if neun[i]==sechs[j]: print """and """ + sechs[0] if neun[i]==sieben[j]: print """and """ + sieben[0] if neun[i]==acht[j]: print """and """ + acht[0] if neun[i]==neun[j]: print """and """ + neun[0] if neun[i]==zehn[j]: print """and """ + zehn[0] if neun[i]==elf[j]: print """and """ + elf[0] if neun[i]==zwoelf[j]: print """and """ + zwoelf[0] if neun[i]==dreizehn[j]: print """and """ + dreizehn[0] if neun[i]==vierzehn[j]: print """and """ + vierzehn[0] if neun[i]==fuenfzehn[j]: print """and """ + fuenfzehn[0] print """are """ + neun[i]