Solved Please Solve This In Python Without Using Any

Solved Please Solve This In Python Without Using Any