Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # brainstorm2.py
- # mainly for company naming, including fictional story writing
- from Tkinter import *
- from random import *
- a='a b c d e f g h i j k l m n o p q r s t u v w x y z'.split()
- b='ab ac ad ae af ag ah ai aie aj ak al am an ao aou ap aq ar as at au aue av aw ax ay aye ayo az ea eau eb ec ed ee ef eg eh ei ej ek el em en eo eoi eou ep eq er es et eu ev ew ex ey eye ez ia iao ib ic id ie if ig ij ik il im in io iou ip iq ir is it iu iv ix iz oa ob oc od oe oeu of og oh oi oj ok ol om on oo ooe op or os ot ou oua oue oui ov ow ox oy oye oz ua uai uay ub uc ud ue uea ueu uey uf ug ui uie uj uk ul um un uo uoi uoy up uq ur us ut uu uv ux uy uz ya ye yea yeo yeu yi yie yo you yu'.split()
- c='ba be bi bl bo br bu ca ch cl co cr cu da de di do dr du dw fa fe fi fl fo fr fu ga ge gi gl go gr gu ha he hi ho hu ja je ji jo ju ka ke ki kl ko kr ku la le li lo lu ly ma me mi mo mu na ne ng ni no nu pa pe pi pl po pr pu qu ra re rh ri ro ru sa sc se sh si sk sl sn so sp st su sw ta te th ti to tr tu tw va ve vi vo vu wa we wi wo wr wu xi ya ye yi yo yu za ze zi zo zu'.split()
- d='ksp ckst ckt cktr ckw ckwh cst ct ctf ctl ctm ctn ctr cts ctw dbl dbr dch dcl dcr ddb ddh ddl ddr dds dfl dfr dgl dgm dgr dph dsh dsk dsl dsm dsp dspr dst dstr dsts dsw dth dths ffb ffh ffl ffm ffn ffr ffs ffsh ffsp ffst fst ft ftb ftf fth ftl ftn ftr fts ftsm ftw gfr ggb ggc ggh ggl ggn ggp ggpl ggr ggs ggsh ghb ghbr ghc ghf ghg ghh ghl ghn ghr ghs ghsc ghsh ght ghtb ghtc ghtd ghtf ghtg ghth ghtl ghtm ghtn ghtp ghtr ghts ghtt ghtw ghw gms gnm gnp gns gnt gsh gsk gst gtr gwh gwr hms hnn hns kcl khm ksh kst kth kthr lbr lbs lch lchr lcl lcr ld ldb ldc ldf ldh ldl ldm ldn ldr lds ldsm ldsp ldw lf lfb lfg lfh lfl lfp lfr lfs lfsk lft lfth lfw lgr lkh lkl lkm lkn lks lksh lksw lkt lkw llb llbl llc lld llf llfl llfr llg llh llj llk llkn llm lln llp llpl llr lls llsh llsp llst llt llw llwh lmd lml lmm lmn lms lmsm lmst lp lpf lph lpl lpm lpr lps lpt lsh lshm lsk lsm lsp lst lstr lt ltb ltc lth lthf lths ltl ltm ltp ltr lts ltsh ltw ltz lwr mbb mbl mbn mbp mbpr mbr mbs mbsc mbsh mbsk mbst mbt mbw mcc mdr mfl mnl mns mp mpb mpd mpf mpg mpgr mph mphl mphr mphs mpk mpl mpm mpn mpp mpr mps mpsh mpt mptl mptr mpts msb msc mscr msd msh msk msm msp mst mstr nbl nbr nch nchb nchm nchr ncht nchw nck nckl ncl ncr ncs nct nctl ncts nd ndb ndbl ndbr ndc ndch ndcl ndd ndf ndg ndh ndj ndk ndl ndm ndn ndp ndpr ndq ndr nds ndsc ndsh ndsl ndsm ndst ndsw ndt ndth ndtr ndw ndwr nfl nfr ngb ngd ngf ngh ngk ngl ngm ngn ngp ngpl ngr ngs ngsh ngsp ngst ngt ngth ngw nk nkb nkf nkg nkh nkl nkm nkn nkp nkr nks nksg nksh nksm nkst nkt nkw nnk nns npl npr ns nsb nsc nsch nscr nsd nsf nsg nsgr nsh nshr nsk nskr nsl nsm nsn nsp nspl nspr nss nssh nst nstr nsv nsw nt ntb ntbr ntd ntf ntg nth nthl nthr nths ntl ntm ntn ntp ntr nts ntsm ntst ntw nwh nwr pbr pch pdr pfr pgr phl phn phr phs pht phth pkn pph ppl ppr psc psh psk psq pst pstr psw pt pth pths ptl ptn ptr pts ptwr pwr rbl rbr rbs rch rchb rchd rchg rchl rchm rcht rchw rck rcl rcr rcs rct rd rdb rdc rdf rdh rdl rdm rdn rdp rdpl rdr rds rdsc rdsh rdsm rdst rdsw rdt rdw rfb rfd rfl rfr rfs rgh rgl rgr rk rkb rkd rkh rkl rkm rkn rkp rkr rks rksc rksh rksk rksm rksp rkt rkw rlb rld rldl rlds rldw rlf rlfr rlh rlp rls rlw rmb rmc rmf rmh rml rmn rmp rms rmst rmt rmth rmw rnb rnbr rnc rnf rnfl rnk rnl rnm rnn rnp rns rnst rnt rnw rph rpl rpn rpr rps rpsh rpt rpts rrh rrs rsc rsch rscr rsd rsh rshl rshm rshn rshw rsk rsl rsm rsn rsp rspl rspr rsq rst rstb rsth rstr rsts rsw rtb rtbr rtc rtf rtfr rtg rth rthb rthc rthd rthl rthm rthp rthq rthr rths rthw rtl rtm rtn rtr rts rtsh rtsl rtsm rtsp rtst rtsw rtt rtth rtw rtwh rtz rwh rwr sbr sch schn schw scl scr scs sdr sgr shb shc shcl shd shf shl shm shn shp shr shs shst sht shtr shv shw shwh skl skm skn skr sks skw sms spb sph spl spn spr sps ssb ssbl ssbr ssc ssch sscr ssf ssh ssk ssl ssm ssn ssp ssr sst ssw stb stc stch std stf stg stgr sth sthm stl stm stn stp stpl stpr str sts stsc stst stw swr tbr tch tchb tchc tchd tchf tchg tchh tchk tchl tchm tchp tchs tcht tchw tcl tcr tdr tfl tgr thb thbl thbr thc thd thdr thf thh thl thm thms thn thp thpr thr ths thst tht thw tkn tpl tpr tsb tsc tsch tsh tsk tsm tsp tspr tst tstr tsw tth tthr ttl ttr tts ttsb tzs tzsc vsk wbl wbr wch wdl wdr wds wfl wgr wks wkw wls wlsp wnb wnbr wnc wnf wng wngr wnh wnp wnr wns wnsc wnsf wnsh wnsm wnsp wnst wnt wntr wnw wpl wsb wsc wsf wsfl wsh wsk wsl wsm wsp wspr wsr wss wssh wsst wst wstr wsv wsw wth wths wts xch xcl xcr xgl xpl xpr xsw xtb xth xtr xts zzl'.split()
- v='bb bc bd bf bg bh bj bk bl bm bn bp bq br bt bv bw bx bz cb cc cd cf cg cj cl cm cn cp cq cr cv cw cx cz db dc dd df dg dh dj dk dl dm dn dp dq dr dt dv dw dx dz fb fc fd fg fh fj fk fl fm fn fp fq fr ft fv fw fx fz gb gc gd gf gg gh gj gk gl gm gn gp gq gr gt gv gw gx gz hb hc hd hf hg hh hj hk hl hm hn hp hq hr hs ht hu hv hw hx hy hz iw jb jc jd jf jg jh jj jk jl jm jn jp jq jr js jt jv jw jx jy jz kb kc kd kf kg kh kj kk kl km kn kp kq kr kv kw kx kz lg lh lj lq lr lt lv lw lx lz mb mc md mf mg mh mj mk ml mm mp mq mr mt mv mw mx mz nf nh nj nl nm nn np nr nv nw pb pc pd pf pg pj pk pl pm pn pp pq pr pu pv pw px pz qb qc qd qf qg qh qj qk ql qm qn qp qq qr qt qv qw qx qz rc rh rj rq rr rz sb sd sf sg sj sl sn sq sr ss su sv sw sx sz tb tc td tf tg tj tk tl tm tn tp tq tr tt tv tw tx tz uu uw vb vc vd vf vg vh vj vk vl vm vn vp vq vr vs vt vv vw vx vz wb wc wd wf wg wh wj wk wl wm wn wp wq wr ws wt wu wv ww wx wz xb xc xd xf xg xh xj xk xl xm xn xp xq xr xs xt xv xw xx xz yw yy zb zc zd zf zg zh zj zk zl zm zn zp zq zr zs zt zv zw zx'.split()
- e = a+b+c
- e.sort()
- t = []
- x = 'aeiouy'
- for p in e:
- r = 4
- aa = 0
- bb = 0
- checklist = []
- while 1:
- s = p
- while len(s) < r:
- if s[-1] in x:
- if not aa:
- aa = c+d
- s += aa.pop()
- else:
- if not bb:
- bb = a+b
- s += bb.pop()
- while s[-2:] in v:
- s = s[:-1]
- if s in checklist or (len(s) < 4):
- break
- else:
- checklist.append(s)
- t.append(s)
- print s,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement