Python code for making a program that converts the entered text into a secret language

  Kiến thức lập trình

What I mean is that it should convert the entered text into a secret language text using a pattern. For example, I want it to work as:
If I entered “apple”, it should get converted to “bqqmf”. The pattern here is that each letter gets replaced by its next letter (you get what I’m trying to say??).
Been stuck man someone help.
Please.

I tried using pandas library and shi but couldn’t get what I wanted.
`import pandas as pd
a = list(input(“Enter: “))
s = pd.Series(a)
print(s)
b = pd.Series(list(“abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz”))

for i in range(0,len(s)+1):
s[i] = b[i=1]
print(s)
`

New contributor

itahashaikh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT