You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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')
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: