Solved This Must Be In Python Write A Function That

Solved This Must Be In Python Write A Function That