added some spacing on the select account to edit/delete

This commit is contained in:
crp3844
2022-09-07 15:06:33 -04:00
parent 3d60dcdcb2
commit 7c37b9bb3e

View File

@@ -312,10 +312,12 @@ def edit_account_details(accounts, email):
def select_account(accounts, wording = "edit"):
print("Which account would you like to {}:".format(wording))
print(" ")
emails = list(accounts)
for i in range(0, len(accounts)):
pretty_number = i + 1
print("{}) {}".format(pretty_number, emails[i]))
print(" ")
while True:
account_to_modify = int(input("Please enter number relating to the account you wish to {}: ".format(wording))) - 1
try: