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

ansver
Answers: 3

Another question on Business

question
Business, 22.06.2019 03:10
Beswick company your team is allocated a project involving a major client, the beswick company. although the organization has many clients, this client, and project, is the largest source of revenue and affects the work of several other teams in the organization. the project requires continuous involvement with the client, so any problems with the client are immediately felt by others in the organization. jamie, a member of your team, is the only person in the company with whom this client is willing to deal. it can be said that jamie has:
Answers: 2
question
Business, 22.06.2019 09:40
As related to a company completing the purchase to pay process, is there an accounting journal entry "behind the scenes" when xyz company pays for the goods within 10 days of the invoice (gross method is used for discounts and terms are 2/10 net 30) that updates the general ledger?
Answers: 3
question
Business, 23.06.2019 01:00
Lycan, inc., has 7.5 percent coupon bonds on the market that have 8 years left to maturity. the bonds make annual payments and have a par value of $1,000. if the ytm on these bonds is 9.5 percent, what is the current bond price? (do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.) current bond price
Answers: 2
question
Business, 23.06.2019 03:10
Prepare the operating activities section—indirect method.(lo 4), apthe income statement of paxson company is presented here.paxson companyincome statementfor the year ended november 30, 2014sales revenue $7,600,000cost of goods sold beginning inventory$1,900,000 purchases4,400,000goods available for sale6,300,000 ending inventory1,600,000total cost of goods sold 4,700,000gross profit 2,900,000operating expenses selling expenses450,000 administrative expenses700,0001,150,000net income $1,750,000additional information: prepare the operating activities section—indirect 1. accounts receivable decreased $380,000 during the year, and inventory decreased $300,000.2. prepaid expenses increased $150,000 during the year.3. accounts payable to suppliers of merchandise decreased $350,000 during the year.4. accrued expenses payable decreased $100,000 during the year.5. administrative expenses include depreciation expense of $110,000.instructionsprepare the operating activities section of the statement of cash flows for the year ended november 30, 2014, for paxson company, using the indirect method.net cash provided $1,940,000
Answers: 1
You know the right answer?
IF YOU CAN DO THIS CORRECTLY I WILL MARK Now, it’s time for you to begin coding your text-based adv...
Questions
question
Mathematics, 23.11.2020 18:10
question
Mathematics, 23.11.2020 18:10
question
Mathematics, 23.11.2020 18:10
question
Mathematics, 23.11.2020 18:10