Lists and Dictionaries in Python (Python Part 8)
This class shows you how to use Lists and Dictionaries in Python. basic-list.py list-sort.py add-remove-list.py split-list.py basic-dict.py add-remove-dict.py nested-list.py
This class shows you how to use Lists and Dictionaries in Python. basic-list.py list-sort.py add-remove-list.py split-list.py basic-dict.py add-remove-dict.py nested-list.py
The explode() function allows you to turn a String into an Array based on a separator you define. explode() https://www.php.net/manual/en/function.explode.php https://www.w3schools.com/php/func_string_explode.asp explode.php
The in_array() function allows you to check if a value is stored with an Array. This can be used for things such as creating an array of which states a company ships products to. in_array() […]
You can sort arrays by key with ksort() and krsort().
The sort() and sort() functions allow you to sort arrays alphabetically.