Solved A Implement The Following Function In Python If

Solved A Implement The Following Function In Python If