Add functions in Python to make it run?
plainText = input (“Enter a one-word, ïower case message : “) distanceint (input(“Enter the distance value: “)) code = “” for ch in plainText: ordvalue – ord(ch) ciphe rvalue = ordvalue + distance cipherValue = ord(‘ a’) + distance- code + chr (cipherValue) it cipherValue ord(‘z: (ord (‘z’) -ordvalue + 1 ) print (code) Show transcribed image text plainText = input (“Enter a one-word, ïower case message : “)
OR
OR