Created
October 4, 2020 17:26
-
-
Save arifsuhan/ef8a350e665513b7dfe36b37e4fc4c6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def en_to_bn(n): | |
temp = [ord(x) for x in n] | |
res = ''.join([chr(x+2486) for x in temp]) | |
print(res) | |
# enter some post-code | |
# to english to bangla | |
# sorry to validation check if it's only english digits or not | |
user = input("Enter number:") | |
en_to_bn(user) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment