Print series_test_case_problem

Hi, Please resolve my doubt
My 2 test cases are not running?
here is the link to my code

Hello @Harshit199823,

If you run your code on sample testcase given in the question, you would understand your mistake.

You are starting n in 3n+2 from 0, but it is starting from n=1i.e,
The minimum value of this sequence is 5, not 2.
I have modified your code:

Hope, this would help.
Give a like, if you are satisfied.