logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Anthonius HermanusManagement
(5/5)

933 Answers

Hire Me
expert
Persimmon BissoondathBusiness
(4/5)

955 Answers

Hire Me
expert
William BellBusiness
(5/5)

866 Answers

Hire Me
expert
Michele PerezPhilosophy
(4/5)

597 Answers

Hire Me
R Programming
(5/5)

Garden You and your neighbor both have equally large gardens. Their gardens are represented as 2D lists

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Part 1 - CSV Change del_1a.py and print the number of the different species on the terminal (ART, column 12) Change del_1b.py and plot only the companies that raise Salmon (ART, column 12) Change del_1c.py and plot FRESH WATER and SALT WATER with different colors (see WATER ENVIRONMENT, column 20) Change del_1d.py and come up with another interesting question about the dataset and implement it. The tests in part 1 only check that the code is running, they do not look at the output. It only happens manually when we correct 

Part 2 - Garden You and your neighbor both have equally large gardens. Their gardens are represented as 2D lists, where the garden [i] [j], gives an element to the position (i, j). Each element of a garden is represented as a string, and can be any of the following: "grass", "moss", "strawberry", "rock", "raspberry". You have recently seen that there has been a lot of moss and stone in your garden, and suspect that it is your neighbor who has put it there. To fix this, complete the clean_garden (my_garden, neighbors_garden) function. Here you will first create small functions to make it easier to solve the actual task. Finally, replace each stone and moss from your garden with the first strawberry and raspberry from your neighbor's garden (the two items to be replaced do not have to be in the same position). Create a function find_item that takes in two arguments: (garden, item), which returns an (i, j) position as a tuple, whose item is in the garden. If it does not exist, return None Create a function swap_items that exchanges two elements between two gardens, let it take in these arguments: (garden1, garden2, pos1, pos2), where pos1 and pos2 are (i, j) doubles. Here you should not return anything, but change the lists you receive as arguments. Use the functions you have defined to complete clean_garden (my_garden, neighbors_garden): Replace all "rock" with "strawberry", and "moss" with "raspberry" from your neighbor's garden as long as there are opportunities for exchange.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme