Entries by Student

write my assignment 28973

Programming Essentials

Team Management

You are in charge of managing a local softball team, one in which there is a lot of turnover. While you have a couple of regulars, much of the team members come and go frequently. When it comes to organizing games, it is becoming more and more difficult to keep track of the current members, so you decide to write a small program to help you track the current players.

Write a modularized program that will utilize a main menu to control the program’s functions and a list to store the members of your team. The following functions that your program needs to include:

  • Print the current member list.
  • Add a new member.
  • Remove a member.
  • Modify an existing member.
  • Exit the program

Remeber that you can create a function using ‘def.’ In other words, for adding a new member, you will need a function similar to: def aaddmember.

Note: Since we have not covered File Access, do not worry about long term storage for your list. Each time you run the program, you will have to create a new list. You are welcome to skip ahead to the File I/O if you would like to tackle this additional functionality, but file access is NOT required for this assignment.

For this project:

  • You will submit your python code in either the original .py file, or copied into a .txt file.
  • A screenshot of your code having been executed (run). How to Take a Screenshot.

Tips: The menu logic will use the same structure as your previous programs. A single variables will be used as the control value, and based on what the user entered as the control value, will determine the course of action taken inside of the loop.

Example output:

C:>python week4.py

Welcome to the Team Manager

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 2

Enter new member’s name: Nathan

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 2

Enter new member’s name: Toby

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 1

Nathan

Toby

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 3

Enter member name to be removed: Toby

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 1

Nathan

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 4

Enter the name of the memeber you want to edit: Nathan

Enter the new name of the member: Nathan Braun

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 1

Nathan Braun

===========Main Menu===========

1. Display Team Roster.

2. Add Member.

3. Remove Member.

4. Edit Member.

9. Exit Program.

Selection> 9

Exiting Program…

 

"Not answered?"


Get the Answer

write my assignment 11751

  1. The World’s Best Bank (WBB) is the only bank in the country and its T-account is:

———————————————————————————————————————–

Assets           (in $ million)                                    Liabilities    (in $ million)

———————————————————————————————————————–

Reserves                               300                            Deposits                                600

Loans                                    200

Cash held in overseas banks 100                            Debt                                     200

Securities                             300                           Capital (owner’s equity)      100

Going back to the original T-account (i.e. the withdrawal of part d. did NOT take place), Suppose that due to the mortgage crisis some people default on their loans, and their value thus decreases by 50. What happens to the leverage ratio (assuming the bank makes no changes in reserves)? (2 marks)

 

"Not answered?"


Get the Answer

write my assignment 11053

I am in beginning level of python and need help.

I need help writing a Python program that does the following. 

  • making a string that is a long series of words separated by spaces. make it up yourself.
  • I need to make the string into a list of words using split
  • then I need to delete three words from the list, but delete each one using a different kind of Python operation.
  • Sort the list. 
  • also how do I add new words to the list (three or more) using three different kinds of Python operation. 
  • how do I make the list of words back into a single string using join
  • and finally how do I print the string. 

Can you please help me with examples of the following using Python lists.

  • Nested lists 
  • The “*” operator 
  • List slices 
  • The “+=” operator 
  • A list filter 
  • A list operation that is legal but does the wrong thing 

Can you please include the Python code and output for the program and all examples. 

 

"Not answered?"


Get the Answer

write my assignment 13041

Suppose we are thinking about replacing an old computer with a new one. The old one cost us $1,260,000; the new one will cost $1,520,000. The new machine will be depreciated straight-line to zero over its five-year life. It will probably be worth about $260,000 after five years.

The old computer is being depreciated at a rate of $252,000 per year. It will be completely written off in three years. If we don’t replace it now, we will have to replace it in two years. We can sell it now for $380,000; in two years, it will probably be worth $116,000. The new machine will save us $286,000 per year in operating costs. The tax rate is 35 percent, and the discount rate is 10 percent.

a.Calculate the EAC for the old computer and the new computer. (A negative answer should be indicated by a minus sign.Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16.)

                   EAC  New computer$     Old computer$   

b.What is the NPV of the decision to replace the computer now? (A negative answer should be indicated by a minus sign.Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.)

  NPV$   

 

"Not answered?"


Get the Answer