While loop using break in Python Get link Facebook X Pinterest Email Other Apps CODE: while True: line=input('> ') if line=='done' or line=='Done': break print(line) print('Done!') OUTPUT: > a a > c c > d d > w w > f f > Done Done! Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment