Generation

generate functionSat, 12 Nov 2022

decrypt a substitution cipher

def decrypt(cipher): plain = "" for char in cipher: plain = plain + d[char] return plain decrypt(cipher)

Questions about programming?Chat with your personal AI assistant