answersLogoWhite

0

If input is asdfghjk then the output is kasdfghj?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

line = raw_input("Enter the plaintext") line1=raw_input("Enter the plaintext ") line2=raw_input("Enter the plaintext ") split =len(line)/2.0 split=round(split, 0) split=int(split) line = line[split:] + line[:split] line = line.replace("E", "o") line = line.replace("O", "e") line = line.replace("YAR", "ray") line = line.replace("RAY", "yar") split =len(line2)/2.0 split=round(split, 0) split=int(split) line2 = line2[split:] + line2[:split] line2 = line2.replace("E", "o") line2 = line2.replace("O", "e") line2 = line2.replace("YAR", "ray") line2 = line2.replace("RAY", "yar") split =len(line1)/2.0 split=round(split, 0) split=int(split) line1 = line1[split:] + line1[:split] line1= line1.replace("E", "o") line1= line1.replace("O", "e") line1= line1.replace("YAR", "ray") line1= line1.replace("RAY", "yar") print line.lower() print line1.lower() print line2.lower()

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If input is asdfghjk then the output is kasdfghj?
Write your answer...
Submit
Still have questions?
magnify glass
imp