Jan-27-2019, 01:23 PM
please, use meaningful titles, this time I changed it for you.
don't use list as variable name. it's a built-in function and you override it
don't use list as variable name. it's a built-in function and you override it
>>> countries = ['Poland', 'Russia', 'Germany', 'USA', 'China'] >>> sorted(countries) ['China', 'Germany', 'Poland', 'Russia', 'USA'] >>> countries ['Poland', 'Russia', 'Germany', 'USA', 'China'] >>>
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs