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.- [get | view] (2011-09-26 08:35:38, 0.4 KB) [[attachment:pronoun.py]]
- [get | view] (2011-09-26 08:35:38, 0.7 KB) [[attachment:pronounc.py]]
- [get | view] (2011-09-26 08:35:38, 0.3 KB) [[attachment:pronounn.py]]
- [get | view] (2011-09-26 08:35:38, 0.4 KB) [[attachment:randd.py]]
- [get | view] (2011-09-26 08:35:38, 0.7 KB) [[attachment:randdf.py]]
- [get | view] (2011-09-26 08:35:38, 0.3 KB) [[attachment:strshuf.py]]
- [get | view] (2011-09-26 08:35:38, 0.3 KB) [[attachment:strshufm.py]]
You are not allowed to attach a file to this page.