(Apr-23-2020, 02:44 AM)Protonn Wrote: Why I get different format of results when I am multiplying one item of the list and the whole list?the result is the same.
some_list * 2
will return list with elements of the original list repeated twice. In first case elements are of type tuple, in the second elements are of type int.
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