TF1 c3 w2 (NLP), lab - seq_and_pad( ) scored 5 out of 20

The lab assignment seems to be working correctly (all outputs matched) but when I submitted the assignment I scored 85/100 (passed), and the culprit is the graded cell that has seq_and_pad() which scored just 5/20.

I checked the function, and 2 graded cells right before it for possible errors but couldn’t find any.

Could someone point me in the right direction on fixing the issue?

Please click my name and message your notebook as an attachment.

Please fix the last argument of pad_sequences. You have associated padding with trauncating keyword argument.

it worked after the change … thank you