In this task, you will create a Python script in which you will practice reading files in Python and writing them to a new output file. Construct a text file called Py4_Task3_input.txt that has the following lines:
4
Sandwiches 04 July 2020
Pasta 31 October 2014
Hot Dogs 15 November 2005
Tacos 25 December 1986
The first line of the file represents the number of lines in the data file. Write a loop that reads in each additional line (one line at a time) and stores this line first as a string, then converts it to a list, before moving on to reading the next line. Hint: the string for the second line should be Independence Day 04 July 2021 whereas the list for the second line should be [‘Independence’, ‘Day’, ‘04’, ‘July’, ‘2021’].
Create a second looping structure that outputs each line as a string, then as a list, before moving on to the next line. Name your output file Py4_Task3_output.txt. Name your main program Py4_Task3_teamnumber.py
In: Computer Science
Krasner Corporation is a diversified company with several manufacturing plants. Krasner’s
Houston Plant has been supplying parts to truck manufacturers for over 20 years. The last
shipment of truck parts from the Houston Plant will be made on December 31, 2018. Krasner’s
management is currently evaluating three alternatives relating to its soon-to-be-idle plant and
equipment in Houston.
Pufong Industries has offered to buy the Houston Plant for $3,000,000 cash on January 7, 2019.
Barreau Enterprises has offered to lease the Houston facilities for 4 years beginning on January 1, 2019. Barreau’s annual lease payments would be $500,000 plus 10%
of the gross dollar sales of all items produced in the Houston Plant. Probabilities of
Barreau’s annual gross dollar sales from the Houston Plant are estimated as follows:
Annual Gross Dollar Sales Estimated Probability
$2,000,000 .1
4,000,000 .4
6,000,000 .3
8,000,000 .2
Krasner is considering the production of souvenir items to be sold in connection
with upcoming sporting events. The Houston Plant will be used to produce 70,000
items per month at an annual cash outlay of $2,250,000 during 2019, 2020, and 2021.
Ashley Payne, Vice President of Marketing, has recommended a selling price of $5
per item and believes the items will sell uniformly throughout 2019, 2020, and 2021.
The adjusted basis of the Houston Plant as of the close of business on December 31, 2018 will be $4,200,000. Krasner has used straight-line depreciation for all capital
Assets at the Houston Plant. If the Houston Plant is not sold, the annual straight-line
Depreciation expense for the plant and equipment will be $900,000 for the next 4 years. The market value of the plant and equipment on December 3, 2021 is estimated to be $600,000.
Krasner requires an after-tax rate of return of 16% for capital investment decisions
and is subject to a corporate tax rate of 40% on all income.
Calculate the present value at December 31, 2021 of the expected after-tax cash flows for each of the three alternatives available to Krasner Corporation regarding the Houston Plant. Assume all recurring cash flows take place at the end of the year.
Discuss the additional factors, both quantitative and qualitative, Krasner Corporation should consider before a decision is made regarding the disposition or use of the idle plant and equipment at the Houston plant
In: Accounting
Krasner Corporation is a diversified company with several manufacturing plants. Krasner’s
Houston Plant has been supplying parts to truck manufacturers for over 20 years. The last
shipment of truck parts from the Houston Plant will be made on December 31, 2018. Krasner’s
management is currently evaluating three alternatives relating to its soon-to-be-idle plant and
equipment in Houston.
Pufong Industries has offered to buy the Houston Plant for $3,000,000 cash on January 7, 2019.
Barreau Enterprises has offered to lease the Houston facilities for 4 years beginning on January 1, 2019. Barreau’s annual lease payments would be $500,000 plus 10%
of the gross dollar sales of all items produced in the Houston Plant. Probabilities of
Barreau’s annual gross dollar sales from the Houston Plant are estimated as follows:
Annual Gross Dollar Sales Estimated Probability
$2,000,000 .1
4,000,000 .4
6,000,000 .3
8,000,000 .2
Krasner is considering the production of souvenir items to be sold in connection
with upcoming sporting events. The Houston Plant will be used to produce 70,000
items per month at an annual cash outlay of $2,250,000 during 2019, 2020, and 2021.
Ashley Payne, Vice President of Marketing, has recommended a selling price of $5
per item and believes the items will sell uniformly throughout 2019, 2020, and 2021.
The adjusted basis of the Houston Plant as of the close of business on December 31, 2018 will be $4,200,000. Krasner has used straight-line depreciation for all capital
Assets at the Houston Plant. If the Houston Plant is not sold, the annual straight-line
Depreciation expense for the plant and equipment will be $900,000 for the next 4 years. The market value of the plant and equipment on December 3, 2021 is estimated to be $600,000.
Krasner requires an after-tax rate of return of 16% for capital investment decisions
and is subject to a corporate tax rate of 40% on all income.
Calculate the present value at December 31, 2021 of the expected after-tax cash flows for each of the three alternatives available to Krasner Corporation regarding the Houston Plant. Assume all recurring cash flows take place at the end of the year.
Discuss the additional factors, both quantitative and qualitative, Krasner Corporation should consider before a decision is made regarding the disposition or use of the idle plant and equipment at the Houston plant
This question was answered but please can you show me the workings, how the Present value was gotten?
Thanks
In: Accounting
1. The following information is available for the first three years of operations for Santos Inc.:
2020 $850,000
2021 900,000
Instructions
****Please show calculations or how you got the figures.
I will upload worksheet in a comment
In: Accounting
The following information is available for a corporation:
January 1st, 2020 Shares outstanding: 1,250,000
April 1, 2020 Shares Issued: 200,000
July 1, 2020 Purchased Treasury Stock 75,000
October 1, 2020 Issued a 2 for 1 stock split
The number of shares to be used in computing earnings per common share for 2020 is
A) 2,737,500
B) 2,825,500
C) 2,725,000
D) 1,706,250
In: Accounting
Required: Discuss the Net Capital Gain for Simon for the 2019-20 tax year. In your answer, ignore any possible application of the small business concessions.
Where appropriate support your answer with legislative and case authority.
Simon bought his first house in April 2015 and paid $600,000 for it, as well as paying stamp duty in the amount of $30,000. After living in it for 2 years, he commenced renting it out in April 2017. At the time, its market value was $650,000. After it had been rented out for a year, Simon had the entire house repainted, during April 2018, at a cost of $5,000. At the same time, Simon also put in new decking in the backyard of the house (there was no decking there beforehand). This cost $3,000 in wood and other parts. Simon did the work on the decking himself. He estimates that the labour would have cost $7,000 had he paid someone else to do it.
In 2019, Simon paid $5,000 in legal fees. The next-door neighbour to the house disputed ownership of the some of the land that Simon’s house occupied. The neighbour was unsuccessful in their claim.
During February 2020, Simon sold the house to his sister for $800,000. He estimates that the market value at the time was $900,000.
Simon also inherited an apartment from his uncle in May 2017, which he immediately rented out. At the time, its market value was $500,000. His uncle had purchased the house in 1980 for $50,000 and had used it as a rental property. During May 2018, Simon took a $40,000 mortgage on this apartment, which he used to renovate the kitchen and bathroom. During May 2020, Simon sold this apartment for $700,000, with the purchaser agreeing to take over the remaining mortgage of $30,000 on the apartment.
During June 2020, Simon sold some shares for $250,000. These had been purchased in 2017 for $320,000.
In: Accounting
Required: Discuss the Net Capital Gain for Simon for the 2019-20 tax year. In your answer, ignore any possible application of the small business concessions.
Where appropriate support your answer with legislative and case authority.
Simon bought his first house in April 2015 and paid $600,000 for it, as well as paying stamp duty in the amount of $30,000. After living in it for 2 years, he commenced renting it out in April 2017. At the time, its market value was $650,000. After it had been rented out for a year, Simon had the entire house repainted, during April 2018, at a cost of $5,000. At the same time, Simon also put in new decking in the backyard of the house (there was no decking there beforehand). This cost $3,000 in wood and other parts. Simon did the work on the decking himself. He estimates that the labour would have cost $7,000 had he paid someone else to do it.
In 2019, Simon paid $5,000 in legal fees. The next-door neighbour to the house disputed ownership of the some of the land that Simon’s house occupied. The neighbour was unsuccessful in their claim.
During February 2020, Simon sold the house to his sister for $800,000. He estimates that the market value at the time was $900,000.
Simon also inherited an apartment from his uncle in May 2017, which he immediately rented out. At the time, its market value was $500,000. His uncle had purchased the house in 1980 for $50,000 and had used it as a rental property. During May 2018, Simon took a $40,000 mortgage on this apartment, which he used to renovate the kitchen and bathroom. During May 2020, Simon sold this apartment for $700,000, with the purchaser agreeing to take over the remaining mortgage of $30,000 on the apartment.
During June 2020, Simon sold some shares for $250,000. These had been purchased in 2017 for $320,000.
In: Accounting
:Discuss the Net Capital Gainfor Simonfor the 2019-20 tax year. In your answer,ignore any possible application of the small business concessions.
Where appropriate support your answer with legislative and case authority.
Simon bought his first house in April 2015 and paid $600,000 for it, as well as paying stamp duty in the amount of $30,000. After living in it for 2 years, he commenced renting it out in April 2017. At the time, its market value was $650,000. After it had been rented out for a year, Simon had the entire house repainted,during April 2018, at a cost of $5,000. At the same time,Simon also put in new decking in the backyard of the house (there was no decking there beforehand). This cost $3,000 in wood and other parts. Simon did the work on the decking himself.He estimates that the labourwould have cost $7,000 had he paid someone else to do it.
In 2019, Simon paid $5,000 in legal fees. The next-door neighbour to the house disputed ownership of the some of the land that Simon’s house occupied. The neighbour was unsuccessful in their claim.
During February 2020, Simon sold the house to his sister for $800,000. He estimates that the market value at the time was $900,000.
Simon also inherited anapartment from his uncle in May 2017, which he immediately rented out. At the time, its market value was $500,000. His uncle had purchased the house in 1980 for $50,000 and had used it as a rental property. During May 2018, Simon took a $40,000 mortgage on this apartment, which he used to renovate the kitchen and bathroom. During May 2020, Simon sold this apartment for $700,000, with the purchaser agreeing to take over the remaining mortgage of $30,000 on the apartment.
During June 2020, Simon sold some shares for $250,000. These had been purchased in 2017 for $320,000.
In: Accounting
a salary adjustment was given to two retail stores recently merged. Ten employees' salaries were recorded before and after the adjustment. The average difference was an increase of $2,250 with a standard deviation of $1,100. Test if the increase is significant at the .10 level?
In: Statistics and Probability
It will soon be Thanksgiving and families gather for a feast. Identify 10 foods that can be possible sources of contamination that could occur before, during, or after the meal and why. What practices could minimize the risk of food-borne illness for the event?
In: Nursing