Skip to content

Commit c7416de

Browse files
authored
Update crypto.py
1 parent 351fe5c commit c7416de

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Cryptography/crypto.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ def Mode():
5656
else:
5757
Result.set('Invalid Mode')
5858

59-
# Function to exit window
59+
60+
# Function to exit window
6061
def Exit():
6162
"""Exit the window."""
6263
root.destroy()
6364

65+
6466
# Function to reset
6567
def Reset():
6668
"""Reset the screen."""
@@ -69,7 +71,6 @@ def Reset():
6971
mode.set("")
7072
Result.set("")
7173

72-
7374
# Message
7475
Label(
7576
root, font='arial 12 bold', text='MESSAGE'
@@ -93,22 +94,22 @@ def Reset():
9394
).place(x=290, y=120)
9495

9596
# result
96-
Entry(root,
97-
font='arial 10 bold', textvariable=Result, bg='ghost white'
97+
Entry(
98+
root, font='arial 10 bold', textvariable=Result, bg='ghost white'
9899
).place(x=290, y=150)
99100

100101
# result button
101102
Button(
102-
root, font='arial 10 bold', text='RESULT' , padx=2, bg='LightGray' , command=Mode
103+
root, font='arial 10 bold', text='RESULT', padx=2, bg='LightGray', command=Mode
103104
).place(x=60, y=150)
104105

105106
# reset button
106107
Button(
107-
root, font='arial 10 bold' , text='RESET' , width=6,command=Reset, bg='LimeGreen', padx=2
108+
root, font='anson', text='RESET', width=6, command=Reset, bg='Green', padx=2
108109
).place(x=80, y=190)
109110

110111
# exit button
111112
Button(
112-
root, font='arial 10 bold', text='EXIT' , width=6, command=Exit, bg='OrangeRed', padx=2, pady=2
113+
root, font='anson', text='EXIT', width=6, command=Exit, bg='Red', padx=2, pady=2
113114
).place(x=180, y=190)
114115
root.mainloop()

0 commit comments

Comments
 (0)