Solved Python In The Following Program Replace The While

Solved Python In The Following Program Replace The While