Python - How to convert this while loop to for loop? - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Python - How to convert this while loop to for loop?

Python - How to convert this while loop to for loop?

Python - How to convert this while loop to for loop?

percentNumbers = [ ]
finish = "n"
num = "0"
while finish == "n" :
       num = input("enter the mark : ")
       num = float(num)
       percentNumbers.append(num)
       finish = input("finished? (y/n) ")
print(percentNumbers)

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.