It's a misconception they edu and gov links are better than any other TLDs. They might be better but not just because they are edu or gov but because edu and gov sites are usually highly trusted sites. They get links from other trusted sources that's why they are so valuable.
But com, net, info, tv sites can be also very valuable. It all depends what kind of link profile they have.