title: Python 3 prompt in windows, input line limit
body: <p>I'm trying a simple program to solve a UVa question (11683 - Laser Sculpture, <a href="https://onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8&amp;category=24&amp;page=show_problem&amp;problem=2730" rel="nofollow noreferrer">https://onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8&amp;category=24&amp;page=show_problem&amp;problem=2730</a>)</p>
  <p>I wrote below code as the answer (which was marked as wrong).</p>
  <pre><code>from sys import stdin
  
  for line in stdin:
      if line.strip() == '0':
          exit(0)
      else:
          h, l = map(int, line.split()[:2])
          heights = stdin.readline()
          x = h
          heights = map(int, heights.strip().split()[:l])
          count = 0
          for height in heights:
              if height &lt; x:
                  count += (x - height)
              x = height
          print(count)
  </code></pre>
  <p>While debugging this, I observed that CMD python prompt has a limit on the maximum size of the input. It doesn't allow me to type after 512 characters in a single line.</p>
  <p><a href="https://i.stack.imgur.com/lOjIi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lOjIi.png" alt="enter image description here" /></a></p>
  <p>Is there a way to increase this limit?</p>