Input in Python 3

Revision en1, by Ishtiaq11, 2017-03-01 09:50:29

If the amount of data is unknown, the following loop is useful in c++:

 while (cin >> x) {
 // code

How to do this in Python?

Tags python 3, input


  Rev. Lang. By When Δ Comment
en1 English Ishtiaq11 2017-03-01 09:50:29 177 Initial revision (published)