added some spacing on the select account to edit/delete
This commit is contained in:
@@ -312,10 +312,12 @@ def edit_account_details(accounts, email):
|
|||||||
|
|
||||||
def select_account(accounts, wording = "edit"):
|
def select_account(accounts, wording = "edit"):
|
||||||
print("Which account would you like to {}:".format(wording))
|
print("Which account would you like to {}:".format(wording))
|
||||||
|
print(" ")
|
||||||
emails = list(accounts)
|
emails = list(accounts)
|
||||||
for i in range(0, len(accounts)):
|
for i in range(0, len(accounts)):
|
||||||
pretty_number = i + 1
|
pretty_number = i + 1
|
||||||
print("{}) {}".format(pretty_number, emails[i]))
|
print("{}) {}".format(pretty_number, emails[i]))
|
||||||
|
print(" ")
|
||||||
while True:
|
while True:
|
||||||
account_to_modify = int(input("Please enter number relating to the account you wish to {}: ".format(wording))) - 1
|
account_to_modify = int(input("Please enter number relating to the account you wish to {}: ".format(wording))) - 1
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user