That's from an Italo Calvino short story called "How Much Shall We
Bet?" It's found in Cosmicomics, a collection of stories told by galaxies, dinosaurs, mollusks and other forms of life. For sheer, playful delight in science, nothing beats it.
How Much Shall We Bet? [Italo Calvino]

