A little late for April 1, but here is the secret code ...

searchEngineNames = []
for c in range(ord('A'), ord('Z')+1):
    name = chr(c)+'ing'
    searchEngineNames.append(name)

# pick #1
print(searchEngineNames[1])

Recommended Answers

All 2 Replies

:)
I think they used this code to test the abilities of Python before they got serious about working on IronPython and the DLR as an open source project.

This is that da Vinci code I listened the other day?

This genius used mirror writing so that nobody could understand his documentation.

Microsoft security chief wasn't he?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.