This is the code I wrote for the exercise:
def product(sequence): total = sequence for x in sequence: if type(x) != str and x != sequence: total *= x return(int(total))
This is wrong according to the course program; "Oops, try again. Your function fails on product([6, 6, 6, 6, 6]). It returns 6 when it should return 7776".
I tried to interpret the code in my own pycharm, and I get the correct result. And yes, the indentations are correct.