Why is arr[0] * 7 changing all element of arr to 7 and also arr[1][0] does not exist but the interpreter is result is 7. I am quite confused rn
    arr =[[]]*3
    arr[0].append(7)
    print(arr[0])   #[7]
    print(arr)      #[[7],[7],[7]]
    try:
       print(arr[1][0])  #7
    except IndexError:
       print("0")
 
     
     
    