subject

PLEASE HELP ME IVE BEEN STUCK ON THIS FOR SO LONG 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: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
question
Computers and Technology, 22.06.2019 06:50
Type the correct answer in the box. spell all words correctly. which view of report creation allows you to customize the report before the database program creates it? creating a report in allows you to customize the report before the database program creates it. pl asap
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
In a heat transfer course, we can derive the equation for the temperature distribution in a flat rectangular plate. in this example, we will look at a plate at steadystate with three sides being held at t1, and one side held at t2. the temperature for any location on the plate, t(x,y), can be calculated by where create a function (prob3_5) that will take inputs of vectors x and y in feet, scalar n, scalars l and w in feet and scalars t1 and t2 in degrees fahrenheit. it will output a matrix t which is the temperature of each x and y locations. t will have the number of columns equal to the number of elements in x and rows equal to the number of elements in y. though this can be done without loops (perhaps more efficiently), your program must use a nested loop.
Answers: 2
You know the right answer?
PLEASE HELP ME IVE BEEN STUCK ON THIS FOR SO LONG Now, it’s time for you to begin coding your text-...
Questions
question
English, 27.06.2020 03:01
Questions on the website: 13722361