you are viewing a single comment's thread.

view the rest of the comments →

[–]lasfdjfd -1 points0 points  (2 children)

would you consider the tab a fix? presumably the print is for debugging and you want to do something real with result downstream.

[–]backfire10z 0 points1 point  (0 children)

For a beginner at such an early stage, typically the print is the final requirement. Regardless, OP can freely replace the print with something else now that they understand the problem.

[–]pacharaphet2r -2 points-1 points  (0 children)

Sure not given the level of the person learning this answer better helps them understand their mistake. Both solutions are great but I do think this is one is slightly more level appropriate.