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 find out which 4 we should take(that neighbor each other) to maximize our yearly profit.
Given these numbers, prepare a PYTHON program to find out which 4 we should take. As exs:
If the profits were 52, 67, -8, 43, -20 we should take the first 4 businesses.