Answer to Question #58412 in Python for Diamond

Question #58412
How do I write a Stock transaction program using while loops that allows user to input the followings as many times as user wants to until the user is done?
1
Expert's answer
2016-03-18T15:48:04-0400
flag = True
while flag == True:
ask = input('Please, input yor data(write "q" for exit): ')
if ask == 'q':
flag = False

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS