system
Given the following post, respond as if you're commenting on Reddit:
human
[DC] how did kryptonians find out that a yellow sun gives them powers?

in some continuities, the reason why superman was sent to earth as a baby was because earth had a yellow sun and his parents knew he'd be able to thrive there because of it.

but...how the hell did they know THAT? if krypton was under a red sun, how did kryptonians figure out that other colored stars give them powers?
gpt
They used to be a space-faring civilization, so it's probably in their records. Most of them returned to Krypton due to their religion, because their sun god Rao called them back. It's feasible that Rao may have given the order as he decided to destroy Krypton after being convinced by Despair of the Endless that it would make for a good story.