Solved Write Python Code For The Question Below And

Solved Write Python Code For The Question Below And