We have a list of integers, representing the yearly profit


USING PYTHON Programming 3!!! Do not use many built in functions, mainly loops, and list manipulations(ie slicing etc)

We have a list of integers, representing the yearly profit (in kilo euro) of n businesses (shops) along the high street in the City centre. This time we are being given 4 (four) businesses ("for free"), that neighbor one another. The problem is to calculate which 4 we should take(that neighbor each other) to maximize our yearly profit.
Given these numbers, write a PYTHON program to calculate which 4 we should take. As examples:
If the profits were 52, 67, -8, 43, -20 we should take the first 4 businesses. 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: We have a list of integers, representing the yearly profit
Reference No:- TGS094940

Expected delivery within 24 Hours