python_lists
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python_lists [2023/10/09 03:56] – [read file as list of strings] raju | python_lists [2023/11/07 21:51] (current) – [search one list in another] admin | ||
---|---|---|---|
Line 4: | Line 4: | ||
* [[get unique items in a list]] | * [[get unique items in a list]] | ||
* [[convert a string to a list]] | * [[convert a string to a list]] | ||
+ | |||
+ | ==== search one list in another ==== | ||
+ | < | ||
+ | >>> | ||
+ | >>> | ||
+ | [' | ||
+ | >>> | ||
+ | >>> | ||
+ | [' | ||
+ | >>> | ||
+ | >>> | ||
+ | [10, 0, 12, 0, 17, 0, 9, 20] | ||
+ | >>> | ||
+ | >>> | ||
+ | [' | ||
+ | </ | ||
+ | |||
+ | tags | identify the indices | ||
+ | |||
==== read file as list of strings ==== | ==== read file as list of strings ==== |
python_lists.1696823764.txt.gz · Last modified: 2023/10/09 03:56 by raju