How this works: print(sum(int(x) for x in raw_input().split())) in Python
<p>I am very new in Python, and I am really surprised at the following line of code.</p>

<pre><code>print (sum(int(x) for x in raw_input().split()))
</code></pre>

<p>I cannot understand what is happening inside with my Java brain, especially the way x passed to int() from for loop.</p>
