User:Luther Blissett/assignment: Difference between revisions

From XPUB & Lens-Based wiki
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Pierre-Auguste Renoir
Brian Eno's Oblique Strategies
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


=======================================================================
<source lang="python">


#!/usr/local/bin/python
#!/usr/local/bin/python
import sys, string
#-*- coding:utf-8 -*-


eins =["Pierre-Auguste Renoir", "artist","","","","",""]
import cgi
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","","","","",""]


import random
strategy = [


 
"(Organic) machinery",
 
"A line has two sides",
print eins[0]
"A very small object -Its centre",
for i in range(1,7):
"Abandon desire",
if eins[i]!="":
"Abandon normal instructions",
for j in range(1,7):
"Accept advice",
if eins[i]==zwei[j]:
"Accretion",
print """and """ + zwei[0]
"Adding on",
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]

Latest revision as of 21:08, 18 January 2012

Brian Eno's Oblique Strategies

<source lang="python">

  1. !/usr/local/bin/python
  2. -*- coding:utf-8 -*-

import cgi

import random strategy = [

"(Organic) machinery", "A line has two sides", "A very small object -Its centre", "Abandon desire", "Abandon normal instructions", "Accept advice", "Accretion", "Adding on",