Typescript Random Number Function Python Tutorial