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, 21.06.2019 18:30
Which stroke of the four-stroke cycle is shown in the above figure? a. power b. compression c. exhaust d. intake
Answers: 2
question
Business, 21.06.2019 21:30
Which of these things did galileo not do? a. stop publishing his scientific work after being convicted of heresy b. invent the concept of acceleration c. experiment with rolling balls down ramps of increasing steepness to test how objects would fall d. argue that earth moves around the sun e. make up a thought experiment that indicated that objects would fall at the same rate
Answers: 3
question
Business, 22.06.2019 14:00
The following costs were incurred in may: direct materials $ 44,800 direct labor $ 29,000 manufacturing overhead $ 29,300 selling expenses $ 26,800 administrative expenses $ 37,100 conversion costs during the month totaled:
Answers: 2
question
Business, 22.06.2019 21:10
Acompany has two products: standard and deluxe. the company expects to produce 36,375 standard units and 62,240 deluxe units. it uses activity-based costing and has prepared the following analysis showing budgeted cost and cost driver activity for each of its three activity cost pools.budgeted activity of cost driver activity cost pool budgeted cost standard deluxe activity 1 $ 93,000 2,500 5,250 activity 2 $ 92,000 4,500 5,500 activity 3 $ 87,000 3,000 2,800 what is the overhead cost per unit for the standard units? what is the overhead cost per unit for the deluxe units? (round activity rate and cost per unit answers to 2 decimal places.)activity expected costs expected activity driver activity rate1 93,000 2 92,000 3 87,000 standard activity activity driver activity rate allocated costs1 2 3
Answers: 2
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
Chemistry, 23.07.2019 22:00
question
Mathematics, 23.07.2019 22:00
question
Mathematics, 23.07.2019 22:00
Questions on the website: 13722359