Is there any way to delete characters at the end of a string in python? For example: a="ABCDEFGHIJKLMNOPQRSTUVWXYZ" B="ABCDEFGH"
I need the string "a" to be the same size as "b", is it possible?
I need them the same size to do a cryptographic process, one would be the key and the other plaintext