Attachment 'pronoun.py'

Download

   1 #!/usr/bin/python
   2 # -*- coding: utf-8 -*-
   3 
   4 '''Произносимые слова
   5 минимальный вариант: "гласная-согласная-гласная-согласная..." 
   6 '''
   7 
   8 import random
   9 
  10 Cons="bcdefghjklmnpqrstvwxz"
  11 Son="aeiouy"
  12 
  13 s=""
  14 for i in xrange(8):
  15   if i%2:
  16     s+=random.choice(Cons)
  17   else:
  18     s+=random.choice(Son)
  19 print s

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.