I have this code:
print("%4d"%word, end="")
Right now it's hard-coded to 4 letters words (The GUI is in the terminal)
I would like, if possible, for it to be dynamic after the biggest word chosen, is that possible and if so how?
Using the new python formatting you could do it as follows:
print "{{0}:.{1}}".format(word, n)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With