The Three Bottles Problem is solved here using AI in Python
PROBLEM REPRESENTATION
The given problem is known as the “Three Bottles Problem.” This problem includes three bottles which must reach a goal state or a final state from their initial states.
In the problem assigned here, there are three given bottles which can hold a limited amount of water. The first bottle (b1) can be filled with 10 litres of water, the second bottle (b2) can be filled with 6 litres of water, and the third bottle (b3) can be filled with 5 litres of water. The water supply is assumed to be limitless, and the bottles are ordinary bottles with no markings so it cannot be measured if the bottles are not filled to their maximum capacity.