MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __str__

Method __str__

ciphers/shuffled_shift_cipher.py:41–45  ·  view source on GitHub ↗

:return: passcode of the cipher object

(self)

Source from the content-addressed store, hash-verified

39 self.__shift_key = self.__make_shift_key()
40
41 def __str__(self) -> str:
42 """
43 :return: passcode of the cipher object
44 """
45 return "".join(self.__passcode)
46
47 def __neg_pos(self, iterlist: list[int]) -> list[int]:
48 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected