In Luxembourg, all public transport is free for everyone. I was just there, and as a tourist, it saved me a lot of hassle not needing to figure out where and how to buy which ticket. Jump hop on any train, bus or tram :).
And yes, I understand why this wouldn't work well in other countries.