Mar-29-2019, 04:32 PM
(This post was last modified: Mar-29-2019, 04:32 PM by DreamingInsanity.)
Thanks!
That makes many things easier.
I created this piece of code with the zip function:
Thanks,
Dream
That makes many things easier.
I created this piece of code with the zip function:
for char in zip(curr, other): if char[0] == '1' and char[1] == '1': new = new + '1' if char[0] == '0' and char[1] == '0': new = new + '0' if char[0] == '4' and char[1] != '3': new = new + '4' if char[1] == '3': new = new + '3' print(new)It probably could be improved but at least it works.
Thanks,
Dream