Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need this in a code for Python Bank Teller\'s Assistant REQUIREMENT: A local B

ID: 658242 • Letter: I

Question

I need this in a code for Python
Bank Teller's Assistant REQUIREMENT: A local Bank would like you to write a Program that handles their waiting list for Customers arrivals. SCENARIO: Customers arrive at the bank, they register (Name, YearOB, type of service requested) to be called and they'll get a ticket with their info(Name, Age, service,etc). Customers wait for service by the teller if the teller is busy, then are served, and then depart the system. Customers arriving to the system when the teller is busy wait in a lobby area expecting to be called by the teller when available. Customers older than 55 automatically get in the line right after the next person waiting to be served. The program should be able to print record at any time of the Present Waiting List as well of the list of attendees during the day and a message when the waiting list is empty. KEY: To accomplish this task you'll need to use dictionaries, lists, strings, functions, IF and WHILE conditions (menu options),etc. I need this in a code for Python
Bank Teller's Assistant REQUIREMENT: A local Bank would like you to write a Program that handles their waiting list for Customers arrivals. SCENARIO: Customers arrive at the bank, they register (Name, YearOB, type of service requested) to be called and they'll get a ticket with their info(Name, Age, service,etc). Customers wait for service by the teller if the teller is busy, then are served, and then depart the system. Customers arriving to the system when the teller is busy wait in a lobby area expecting to be called by the teller when available. Customers older than 55 automatically get in the line right after the next person waiting to be served. The program should be able to print record at any time of the Present Waiting List as well of the list of attendees during the day and a message when the waiting list is empty. KEY: To accomplish this task you'll need to use dictionaries, lists, strings, functions, IF and WHILE conditions (menu options),etc. I need this in a code for Python
Bank Teller's Assistant REQUIREMENT: A local Bank would like you to write a Program that handles their waiting list for Customers arrivals. SCENARIO: Customers arrive at the bank, they register (Name, YearOB, type of service requested) to be called and they'll get a ticket with their info(Name, Age, service,etc). Customers wait for service by the teller if the teller is busy, then are served, and then depart the system. Customers arriving to the system when the teller is busy wait in a lobby area expecting to be called by the teller when available. Customers older than 55 automatically get in the line right after the next person waiting to be served. The program should be able to print record at any time of the Present Waiting List as well of the list of attendees during the day and a message when the waiting list is empty. KEY: To accomplish this task you'll need to use dictionaries, lists, strings, functions, IF and WHILE conditions (menu options),etc.

Explanation / Answer

# Name: Cal_Centroid.py

# Description: Use Cal_Field to assign the centroid values to the new fields

# Import system module

import rcpy

from rcpy import env

try:

    # Set env settings

    env.workspace = "C:/data/airport.gdb"

    # Set local variable

    Int_Feature = "parcel"

    field_Name1 = "aCentroid"

    field_Name2 = "bCentroid"

    field_Precision = 16

    field_Scale = 18

    # Expression are calculated by using the Shape Field's geometry property

    exp1 = "float(!SHAPE.CENTROID!.split())"

    exp2 = "float(!SHAPE.CENTROID!.split())"

    # Execute Add_Field

    rcpy.Add_manage(int_Feature, field_Name1, "DOUBLE",

                              field_Precision, field_Scale)

    rcpy.Add_manage(int_Feature, field_Name2, "DOUBLE",

                              field_Precision, field_Scale)

    # Execute Cal_Field

    rcpy.Cal_management(int_Feature, field_Name1, exp1,

                                    "PYTHON")

    rcpy.Cal_management(int_Feature, field_Name2, exp2,

                                    "PYTHON")

except Except, e:

    # If an error occurred, print the line number and an error message

    import traceback, sys

    tb = sys.exc_info()

   print "Line %l" % tb.tb_line

    print e.msg

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote