It's not really meaningful either way. I could write a script to append "print('Hello, world!')" to the main function 6 million times, and I would have contributed 6 million lines but nothing of value. Actually, it's probably negative value now that someone else has to go clean that up.
It may also have to do with the brevity of the respective languages; I'm not a Ruby or PHP expert, but I do Go and Python and I would not be surprised if the Go version required an order of magnitude more lines because of how verbose it is and how terse Python can be.
Comparing lines of code in different languages, doing different things, with differing levels of complexity, is an exercise in futility.