I'm stumped on a line of code in Python that I'm supposed to translate. Most websites don't have a clearer example of my situation now.
output_qr_dim, and i are just integers
output_r[output_qr_dim * i:output_qr_dim * i + output_qr_dim, output_qr_dim * j:output_qr_dim * j + output_qr_dim] = ra
At first I thought it means you just complete the operations on either sides of the :, then only perform the slicing. But according to this website, http://www.mathcs.emory.edu/~valerie/courses/fall10/155/resources/op_precedence.html, the slicing takes precedence over the other operations, so I'm rather confused at the moment.
Any help would be appreciated