<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Python: Difference between sort() and sorted()</title>
		<link>/blogentry/193817</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/193817" rel="self" type="application/rss+xml" />
		<description>hypersoniq's Blog: Python: Difference between sort() and sorted()</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Original Blog Entry: Python: Difference between sort() and sorted()</title>
			<link>/blogentry/193817</link>
			<guid isPermaLink="true">/blogentry/193817</guid>
			<pubDate>Fri, 08 Aug 2025 10:36:43 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>After a bit of a mix up while coding, I had discovered that I was using sort() where I should have used sorted(). Why? Because sort() will sort a list in place, but the return type is NONE, while sorted() will create a new list, leaving the original entities in tact, return type LIST.<br /><br />Once I figured that out, the Cash 4 Life all neutral QP generator works great!<br /><br />I have not updated the draw history in awhile, but just with the old data it managed to remove 7 outliers. The original script modification also worked out, now I just copy the 5 neutral lists (one per column) directly into the QP Generator where the big list is put together using set() to remove duplicates.<br /><br />So that was a successful day as far as coding goes! All objectives met and tested. And a big thanks to the stack overflow community for helping to explain the difference between sort() and sorted(). As per usual, I did not need to post anything, just properly use the search there.... &#x5b;&#xa0;<a href="/blogentry/193817">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>hypersoniq</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/193817</wfw:comment>
		</item>
	</channel>
</rss>

