Solved Please Write The Code In Python Not In Java Pleas

Solved Please Write The Code In Python Not In Java Pleas