Solved I Need To Create A Function That Replicates Python S

Solved I Need To Create A Function That Replicates Python S