np to tuple

tuple(arr)

Here is what the above code is Doing:
1. We create a list of integers from 1 to 10.
2. We create a list of tuples, where each tuple contains the integer and its square.
3. We convert the list of tuples into a dictionary.
4. We print the dictionary.