Fython's Version. It's same as HarryChen's.