---
title: "Discussion on \"Working out the jug problem in python\" | Hashnode"
description: "Discussion on \"Working out the jug problem in python\". Everyone knows the classic water jug problem. You are by a stream with a 5-Litre and a 7-Litre bucket. How do you measure out 6-Litres in the fewest possible pourings? You first fill up the 7 and so on.\n\nYou might not have seen this particular proble..."
url: "https://hashnode.com/posts/working-out-the-jug-problem-in-python/628230d7504da209d85556ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Working out the jug problem in python](https://colej.net/working-out-the-jug-problem-in-python?utm_source=hashnode&utm_medium=feed)

Everyone knows the classic water jug problem. You are by a stream with a 5-Litre and a 7-Litre bucket. How do you measure out 6-Litres in the fewest possible pourings? You first fill up the 7 and so on. You might not have seen this particular proble...

May 16, 2022 · 4 min read · colej.net  
Updated May 18, 2022  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#challenge](https://hashnode.com/tag/challenge)
-   [#fun](https://hashnode.com/tag/fun)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)

## Written by

[Joshua Cole](https://hashnode.com/@Dingo418)

@Dingo418

  
[View profile](https://hashnode.com/@Dingo418)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
