<｜begin▁of▁sentence｜>### Instruction:
Given a list [1, 2, 3], a tuple (1, 2, 3), a set {1, 2, 3}, a dictionary with keys [1, 2, 3] and corresponding values [3, 2, 1], and a string 'hello', how can you obtain an arbitrary element from each of these iterables using NetworkX's utility function 'arbitrary_element'?
### Response:
import networkx as nx

# Examples of using arbitrary_element
list_element = nx.utils.arbitrary_element([1, 2, 3])
print(f'Arbitrary element from list: {list_element}')

tuple_element = nx.utils.arbitrary_element((1, 2, 3))
print(f'Arbitrary element from tuple: {tuple_element}')

set_element = nx.utils.arbitrary_element({1, 2, 3})
print(f'Arbitrary element from set: {set_element}')

dict_keys = {k: v for k, v in zip([1, 2, 3], [3, 2, 1])}
dict_key_element = nx.utils.arbitrary_element(dict_keys)
print(f'Arbitrary element from dict_keys: {dict_key_element}')

dict_values_element = nx.utils.arbitrary_element(dict_keys.values())
print(f'Arbitrary element from dict_values: {dict_values_element}')

# Note: using arbitrary_element on a str will return the first character
str_element = nx.utils.arbitrary_element("hello")
print(f'Arbitrary element from string: {str_element}')
<|EOT|>
