mirror of https://github.com/E-Almqvist/cipher
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
318 B
17 lines
318 B
eng_alphabet = *"abcdefghijklmnopqrstuvwxyz",
|
|
swe_alphabet = *"abcdefghijklmnopqrstuvwxyzåäö",
|
|
|
|
# Definitions
|
|
alphabet = dict()
|
|
|
|
alphabet["ENG"] = eng_alphabet
|
|
alphabet["SWE"] = swe_alphabet
|
|
|
|
# Functions
|
|
def listToString( l ):
|
|
returnStr = ""
|
|
|
|
for char in l:
|
|
returnStr += char
|
|
|
|
return returnStr
|
|
|