notebook.community
Edit and run
The input list_of_ints will always have at least three integers.
Does your function work with negative numbers? If list_of_ints is [−10,−10,1,3,2] we should return 300 (which we get by taking -10 -10 3−10∗−10∗3).