Sep-15-2020, 03:54 PM
Thanks Larz60+ that code was redundant. I really would like to see if tkinter or pyglet is able to print the a list for the Vglyphs so I can see the font in Voynich displayed.
import random while True: e = int(input("Enter a number 1 through 12 to make a Voynich Vord: ")) Vglyphs1 = ['y','e','9'] Vglyphs2 = ['o','a','8','1','3'] Vglyphs3 = ['1','8','3','4'] Vglyphs4 = ['o','c','a','8'] if e == 3 : t = random.choices(Vglyphs3,weights=[6,8,2,2]) print(*t , end="" ) pass t = random.choices(Vglyphs4,weights=[13,10,8,8]) print(*t , end="" ) pass t = random.choices(Vglyphs1,weights=[3,4,11]) print(*t , end="" ) print("\n") continue if e == 2: t = random.choices(Vglyphs2,weights=[13,8,8,6,2],) print(*t , end="" ) pass t = random.choices(Vglyphs1,weights=[7,6,4]) print(*t , end="") print("\n") continue