If the return value doesn't tell you what testlist contains, how can you know anything happened?
Please find below explanation and don't forget to give a Like.
For normal programming languages like C, C++, Java. The function will have the return value that should be declared initialize if the are returning a variable and we need to intialize the function definition with same return type. The return type of function clearly tell you what type of function it is going to return to main funcition.
Function doesn't take other return type like float or int, if you defined the function with return type char.
Make sure you initialize this function call to some varibles of type which is same as return type of function. Then you get to know the what it is returning.
Get Answers For Free
Most questions answered within 1 hours.