Oct-28-2020, 02:05 PM
(Oct-28-2020, 01:58 PM)hhydration Wrote: I am having trouble integrating the gcd function into my first function so that the kasiski function returns the GCD of the list rather than the list. Any pointers?
Do you have an idea of how I would integrate my gcd function?
If function
kasinksi
returns list of integers then it's should be simple just wrap the resulting list with gcd:import math result = math.gcd(kasinski(text))
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.