Skip to content

Commit 1b84b56

Browse files
committed
Sort imports
1 parent d8226bd commit 1b84b56

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

file-operations/caesar_cipher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from file_utils import remove_accents
21
import string
32

3+
from file_utils import remove_accents
44

55
ALPHABET = [letter for letter in string.ascii_lowercase]
66

file-operations/file_encrypt.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import argparse
2+
23
import caesar_cipher
34
import file_utils
45

6+
57
def main():
68

79
parser = argparse.ArgumentParser(description='Takes a file as argument and encrypts it')
@@ -35,7 +37,7 @@ def encrypt(file, key):
3537
print(f'The file {file} does not exists')
3638
except ValueError:
3739
print('The selected key does not exists in the alphabet')
38-
40+
3941

4042

4143
def decrypt(file, key):
@@ -56,4 +58,4 @@ def decrypt(file, key):
5658

5759

5860
if __name__ == "__main__":
59-
main()
61+
main()

guess-game/guess_game_main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from random import randint
2+
23
from guess_game import game
34

45

0 commit comments

Comments
 (0)