News, views and top stories in your inbox. Don't miss our must-read newsletter Sign up Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

They say opposites attract - and it's definitely true in the case of this tiny tree frog and three-feet long python.

Ordinarily, the glistening green frog would represent dinner to the snake.

But in this instance, the pair are in fact firm friends.

Having grown up together in captivity, the pair are completely comfortable in each other's company - even in such close proximity.

Otherwise, the snake would surely have eaten the amphibian.

(Image: Solent)

(Image: Solent)

Using its sticky toe pads, the frog clings to the tree python in Jakarta, Indonesia.

Wrapped around the branches of a coconut tree, the slitherer doesn't appear to be particularly interested in the frog - although it does give it an inquisitive sniff once or twice.

Photographer Fahmi Bhs, 39, took the snaps at a zoo in Jakarta.

(Image: Solent) (Image: Solent)

"I was worried the python may swallow this beautiful frog," he said.

"But then a keeper told me that this particular snake doesn't eat frogs at all and it did seem almost undisturbed by its presence.

(Image: Solent)

(Image: Solent)

"The python occasionally sniffed around the frog but then it just let the creature do whatever he needed to do," he added.

After a few minutes, the frog left the snake alone, hopping to a safer branch.