Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi there, I need help with my PYTHON code on Visual Studio. My code is a function, I had to reorganize my functions into Python
Hi there, I need help with my PYTHON code on Visual Studio. My code is a function, I had to reorganize my functions into Python Modules and Import or "call" this modeles into the main code.
But my main code is given me error and I can't import all my other code and I need help creating pydoc (Python documentation).
from functions.getID import getID from functions.getaddress import getAddress from functions.getname import getName from functions:gatemail import getEmail #Creating a list of dictionaries that hold all of the information. employee_list = [] #Loop and getting data for 5 employees #Calling the function in the dictionary while len(employee_list) ", "/", "?", ";", ":", "[", "]", "[", "}", "\\"] return employee_email #Validating employee email def is Emailok (passed_employee_email): bad_chars = ["!", "", "#", "$", "%", "A", "&", "*", "(", ")", if passed_employee_email: for character in passed_employee_email: if character in bad_chars or character.isdigit(): print("Employee email is incorrect. Please try again.") return false return True else: print("Employee email is missing. Please try again.") return false #Validating emplyee ID. I def getID(): id_ok False while not id_ok: employee_ID = input("Enter employee_ID: ") id_ok = isIDOK (employee_ID) = return employee_ID def isIDOK (passed_employee_ID): if len(passed_employee_ID)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started