The Billiard marker
White Spot
Herbs & Horses
Snarked Workplace
The Billiard Marker & Henry George Liddell
Simplified Physics: Forget about E=mc²
What is Quantum Mechanics?
FFT 16
Carroll's Barrister's Dream
Dream Snarks
Stachelschön
M. C. Escher's allusion(?) to John Martin's "The B…
Ceci n'est pas une cloche
Napoleon on board the HMS Bellerophon to St. Helen…
HMS Beagle
Paradise Lost and the Beaver's Lesson
The Boojum even may lurk on a ginger nuts tin.
Darwins snarked Study
The Baker's Dear Uncle
Eagle and Star
Bonomi Edward Warren: Variations on Trees and Shad…
Holiday - Millais - Anonymous - Galle; detail
Dancing in Rio 2016
Elbug
The Bankers Fate
Two Bone Players
IT WAS A BOOJUM
Buddha-Kneipe (grün)
Buddha-Kneipe (blau)
So great was his fright that his waistcoat turned…
Two Noses
Wood Shavings turned Pope
Carpenters Shop and Millais' Allusions
Berries
Shanghai Smog, 1993
The Uncle over Darwin's Fireplace
MJ Maccarsini's "Green on Green"
Dressed up Sulfur Shelf
Sulfur Shelf on Cherry Tree in Spring
The Monster in the Branches
Portrait of Charles Robert Darwin by Laura Russell…
Dissonanz
Monster Nose
Lyruk
The Broker's and the Monk's Nose (with a little he…
See also...
Keywords
Authorizations, license
-
Visible by: Everyone -
All rights reserved
- Photo replaced on 28 Mar 2014
-
1 069 visits
Again: What I tell you three times is true!
Let's prove that The Hunting of the Snark is Nonsense:
-----------------------------------------------------------------------------------------------------
#! /usr/bin/python
statementList = [\
"I'm very much afraid I didn't mean anything but nonsense!",
"Just the place for a Snark!",
"Just the place for a Snark!",
"6 * 7 = 42",
"I'm very much afraid I didn't mean anything but nonsense!",
"6 * 7 = 39",
"6 * 7 = 39",
"Just the place for a Snark!",
"6 * 7 = 42",
"I'm very much afraid I didn't mean anything but nonsense!",
"6 * 7 = 39",
]
for s in (s for s in frozenset(statementList) if statementList.count(s) >= 3):\
print('"' + s + '" is true!')
-----------------------------------------------------------------------------------------------------
Yuck! Ipernity doesn't allow indentation as required by Python. But the code shown above works. It yields the same results as produced by the more "pythonic" code shown in the screenshot:
-----------------------------------------------------------------------------------------------------
"I'm very much afraid I didn't mean anything but nonsense!" is true!
"6 * 7 = 39" is true!
"Just the place for a Snark!" is true!
-----------------------------------------------------------------------------------------------------
(Background image based on "Green on Green" by MJ Maccardini (trailerfullofpix)
2012-02-26, www.ipernity.com/doc/goetzkluge/30126975)
-----------------------------------------------------------------------------------------------------
#! /usr/bin/python
statementList = [\
"I'm very much afraid I didn't mean anything but nonsense!",
"Just the place for a Snark!",
"Just the place for a Snark!",
"6 * 7 = 42",
"I'm very much afraid I didn't mean anything but nonsense!",
"6 * 7 = 39",
"6 * 7 = 39",
"Just the place for a Snark!",
"6 * 7 = 42",
"I'm very much afraid I didn't mean anything but nonsense!",
"6 * 7 = 39",
]
for s in (s for s in frozenset(statementList) if statementList.count(s) >= 3):\
print('"' + s + '" is true!')
-----------------------------------------------------------------------------------------------------
Yuck! Ipernity doesn't allow indentation as required by Python. But the code shown above works. It yields the same results as produced by the more "pythonic" code shown in the screenshot:
-----------------------------------------------------------------------------------------------------
"I'm very much afraid I didn't mean anything but nonsense!" is true!
"6 * 7 = 39" is true!
"Just the place for a Snark!" is true!
-----------------------------------------------------------------------------------------------------
(Background image based on "Green on Green" by MJ Maccardini (trailerfullofpix)
2012-02-26, www.ipernity.com/doc/goetzkluge/30126975)
- Keyboard shortcuts:
Jump to top
RSS feed- Latest comments - Subscribe to the comment feeds of this photo
- ipernity © 2007-2024
- Help & Contact
|
Club news
|
About ipernity
|
History |
ipernity Club & Prices |
Guide of good conduct
Donate | Group guidelines | Privacy policy | Terms of use | Statutes | In memoria -
Facebook
Twitter
Lua: