Solved Python Coding Please Also If You Could Add Commen

Solved Python Coding Please Also If You Could Add Commen