Answered step by step
Verified Expert Solution
Link Copied!

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).

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Shouhong Wang, Hai Wang

1st Edition

1612330150, 978-1612330150

More Books

Students also viewed these Databases questions

Question

5. Do you have any foreign language proficiency?

Answered: 1 week ago