In python how to write a simple while loop?I am a C++ expert but i am starting to learn python.
Lets say i need to write a while loop asking the user if he wants to input a number and if the user says yes, the program will input the number and display it..