PFT should validate all input so that the user doesn't blow something up accidentally.
*Idea: Create new module that handles all inputs. whenever user input is required, call the required function or call the function with required argument to handle that specific input case.
Something like:
from PFT import inputValidation as iv
name = iv.account_names()
def account_names()
while True:
name = input('enter account name:')
if name is a valid entry:
return name
else:
print('Try again')
PFT should validate all input so that the user doesn't blow something up accidentally.
*Idea: Create new module that handles all inputs. whenever user input is required, call the required function or call the function with required argument to handle that specific input case.
Something like: