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)

Want to kickstart your project?Use the new AI Studio to create your code