FAQ

On Fri, Nov 13, 2009 at 4:59 AM, Ray Allen wrote:
"""Example Python Program"""
import random
python = [
??????? "Easy to read",
??????? "Fast to code",
??????? "Quick to learn",
??????? "Modular and object oriented",
??????? "Open source and cross platform",
??????? ]
python.append("Widely adopted")
random.shuffle(python)
print "Python is ... "
for feature in python:
??? print feature
print "See more examples of Python code at \
http://wiki.python.org/moin/SimplePrograms"
I like this one. However, I think it's still just a little on the
complex side for a front-page example. What about something more like
this:

python = [
"Easy to read",
"Fast to code",
"Quick to learn",
"Modular and object oriented",
"Open source and cross platform",
]
print "Python is ... "

for feature in python:
print feature

print "See more examples of Python code at \
http://wiki.python.org/moin/SimplePrograms"

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 9 of 9 | next ›
Discussion Overview
groupadvocacy @
categoriespython
postedNov 12, '09 at 4:00p
activeNov 13, '09 at 2:55p
posts9
users6
websitepython.org

People

Translate

site design / logo © 2019 Grokbase