Antenna (antennapedia) wrote,
Antenna
antennapedia

  • Mood:
  • Music:

Hmm, dare I?

headrush is doing a Giles H/C ficathon.

I'm not exactly sure how this prompt word thing works. Last time I played this game in a writing group, we pulled words from a hat. So I, uh, wrote a 2-second python script to randomly choose a set of words from the prompts. Anywhere from 3 to 6 words. Rules say 1 to 6, but I think it wants at least 3 to be a fair kick.

The results of my first run were: 'ignorance', 'dark', 'remedy', 'open', 'impact'.

I should sign up. Gulp.

If you want to randomize:

#!/usr/bin/env python
from random import choice
words = ('list', 'of', 'words', 'here')
wordcount = choice(range(3,6))
results = []
for i in range(0, wordcount):
____results.append(choice(words)) # indent, of course
print results
Tags: meta
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 2 comments