[Sample Evaluation] Classical Cipher - 1


Submit solution

Points: 10
Time limit: 0.3s
Memory limit: 10M

Author:
Problem type
Allowed languages
Python

Classical Cipher - 1

Write a python code to perform encrypt and decryption based on the below cipher table

Copy
Plain alphabet:   ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher alphabet:  XYZABCDEFGHIJKLMNOPQRSTUVW

Test Data

Input 1
Copy
1
Python is easy but not for all
Output 1`
Copy
Encrypted: Mvqelk fp bxpv yrq klq clo xii
Input 2
Copy
2
Brx duh wkh Oljkw. Nhhs Vplolqj
Output 2
Copy
Decrypted: You are the Light. Keep Smiling

Comments

There are no comments at the moment.