<div>I don't see how this is different to just:</div><br><div>for x in range(50): print(x)</div><br><div>Can you elaborate further?</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px"><div><strong>Jamie</strong></div></div></td></tr><tr><td style="vertical-align:top"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On Jun 8 2018, at 3:12 pm, Randy Diaz <randiaz95@gmail.com> wrote:</div><blockquote><br><div><div><div><div><div>I think that the keyword do would solve problems that occur when people want a simple way to run a command over an iterable but they dont want to store the data.</div><br><div>example:</div><div><br></div><div>do print(x) for x in range(50)</div><div>     ---------</div><div>this above command will not return anything and will just run the command that is underlined over a generator. thus running a command comprehension or do comprehension. this will stop people from using the list comprehension to run an iterable through a function when they dont want to return anything. ( Specifically if memory is something we would want to conserve, such as in multithreaded web applications. ) </div></div></div><br></div><div>_______________________________________________</div><div>Python-ideas mailing list</div><div>Python-ideas@python.org</div><div>https://mail.python.org/mailman/listinfo/python-ideas</div><div>Code of Conduct: http://python.org/psf/codeofconduct/</div></div></blockquote>