I have an array in bash which consists of string messages.
errorMessage+=( "Message1")
errorMessage+=( "Message2")

I need to use these messages as dictionary values in python.
Something like this:
for (( i=1; i<${#errorMessa ge[@]}+1; i++ )):
dict4["Message $i"]="${errorMessag e[$i-1]}"

so the dictionary values should look like:
Message...