My name is Ram Rachum, and I'm a software developer based in Israel, specializing in the Python programming language.

This is my personal blog. I write about technology, programming, Python, and any other thoughts that come to my mind.

I'm sometimes available for freelance work in Python and Django. My expertise is in developing a product from scratch.

GitHub profile

Personal Website

29th October 2012


Cute riddle: Four kids holding one toy balloon

This morning I was lying in bed for a while before getting up, and an idea for a cute logical riddle came to me.

Four kids are standing in an amusement park holding a helium toy balloon. Each kid holds his own end of a thread, but there’s only one single toy balloon for the entire group. If any of the four kids let go of their own thread, the toy balloon will fly up to the sky and be lost, even if the remaining three kids keep holding to their respective threads.

How are the threads arranged? Post your answers in the comments!

Update:┬áMany people solved the riddle in different ways that I didn’t think of in the comments. Congrats! Now your next task: Generalize the problem to N kids and M balloons, find the function that gives the number of threads needed for each combination, and then send a link to an interactive 3D plot of it :)

All content in this website is copyright © 1986-2015 Ram Rachum.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License, with attribution to "Ram Rachum at" including link to
To view a copy of this license, visit: