Business
Business, 24.02.2021 23:00, mahhvelousg97

IF YOU CAN DO THIS CORRECTLY I WILL MARK Now, it’s time for you to begin coding your text-based adventure game!

Starting at the top, convert each line of your pseudocode from your Coding Log into a line of Python code.
Make sure to use the correct syntax and indentation. If you decide to challenge yourself and use functions, be sure to include the correct function calls.
Your code should include at least two loops—one while loop and one for loop.
Run and test your code in parts as you go. Follow the iterative process of coding and revising. It may be helpful to apply this process to each part of your game (Intro, Part 1, Part 2, and Part 3).
Make the following improvements to your game:
If the user types in a slightly different word than you expect, you don’t want your game to crash! Use lists to gain a better understanding of the input that users give. Refer back to Unit 1 for more information on lists. Here is an example:
if choice in [“set a trap”, “set trap”, “trap”, “make a trap”, “make trap”]
Your list won’t work if the user capitalizes any letter because the Interpreter won’t recognize a match between the same lowercase and uppercase letter. To convert the user input to all lowercase, use the lower function:
if choice. lower() in [“set a trap”, “set trap”, “trap”, “make a trap”, “make trap”]

Go through and make sure all of your inputs are converted to lowercase.
Share the link to your Python code with your teacher in REPL. it by clicking on the share button and copying the link. Also, submit your pseudocode.

answer
Answers: 3

Other questions on the subject: Business

image
Business, 21.06.2019 21:00, kp2078
The owners of backstreets italian restaurant are considering starting a delivery service forpizza and their other italian dishes in the small college town where they are located. theycan purchase a used delivery van and have it painted with their name and logo for $21,500.they can hire part-time drivers who will work in the evenings from 5 p. m. to 10 p. m. for$8 per hour. the drivers are mostly college students who study at the restaurant when theyare not making deliveries. during the day, there are so few deliveries that the regular employeescan handle them. the owners estimate that the van will last 5 years (365 days per year)before it has to be replaced and that each delivery will cost about $1.35 in gas and othermaintenance costs (including tires, oil, scheduled service, they also estimate that onaverage each delivery order will cost $15 for direct labor and ingredients to prepare andpackage, and will generate $34 in revenue. a. how many delivery orders must backstreets make each month in order for the service to break even? b. the owners believe that if they have approximately the break-even number of deliveries during the week, they will at least double that number on fridays, saturdays, and sundays. if that’s the case, how much profit will they make, at a minimum, from their delivery service each month (4 weeks per month)?
Answers: 2
image
Business, 22.06.2019 03:30, dontworry48
Lo.2, 3, 9 lori, who is single, purchased 5-years class property for $200,00 and 7-years class property for $420,000 on may 20, 2018. lori experts the taxable income derived form the business (without regard to the amount expensed under ⧠179) to be about $550,000. lori has determined that she should elect immediate ⧠179 expensing in the amount of $520,000, but she doesn’t know which asset she should completely expense under ⧠179. she does not claim any available additional first-year depreciation. a. determine lori’s total cost recovery deduction if the ⧠179 expense is first taken with respect to the 5-year class asset. b. determine lori’s total cost recovery deduction if the ⧠179 expense is first taken with respect to the 7-year class asset. c. what is your advice for lori? d. assume that lori is in the 24% marginal tax bracket and that she uses ⧠179 on the 7-year asset. determine the present value of the tax savings from the depreciation deductions for both assets. see appendix g for present value factors, and assume a 6% discount rate. e. assume the same facts as in part (d), except that lori decides not to use ⧠179 on either asset. determine the present value of the tax savings under this choice. in addition, determine which option lori should choose. f. present your solution to parts (d) and (e) of the problem in a spreadsheet using appropriate microsoft excel formulas. e-mail your spreadsheet to your instructor with a two-paragraph summary of your findings.
Answers: 1
image
Business, 22.06.2019 06:00, olivernolasco23
Josie just bought her first fish tank a 36 -gallon glass aquarium, which she’s been saving up for almost a year to buy. for josie, the fish tank is most likely what type of purchase
Answers: 1
image
Business, 22.06.2019 07:10, Pipemacias1711
9. tax types: taxes are classified based on whether they are applied directly to income, called direct taxes, or to some other measurable performance characteristic of the firm, called indirect taxes. identify each of the following as a “direct tax,” an “indirect tax,” or something else: a. corporate income tax paid by a japanese subsidiary on its operating income b. royalties paid to saudi arabia for oil extracted and shipped to world markets c. interest received by a u. s. parent on bank deposits held in london d. interest received by a u. s. parent on a loan to a subsidiary in mexico e. principal repayment received by u. s. parent from belgium on a loan to a wholly owned subsidiary in belgium f. excise tax paid on cigarettes manufactured and sold within the united states g. property taxes paid on the corporate headquarters building in seattle h. a direct contribution to the international committee of the red cross for refugee relief i. deferred income tax, shown as a deduction on the u. s. parent’s consolidated income tax j. withholding taxes withheld by germany on dividends paid to a united kingdom parent corporation
Answers: 2
Do you know the correct answer?
IF YOU CAN DO THIS CORRECTLY I WILL MARK Now, it’s time for you to begin coding your text-based adv...

Questions in other subjects:

Konu
Chemistry, 26.10.2020 09:20