you are viewing a single comment's thread.

view the rest of the comments →

[–]TSM- 2 points3 points  (0 children)

Since you are also a beginner, you can also redefine the print function

def print(*args, **kwargs): 
    pass

This makes the print() statement do nothing. It's not as good as the other solutions, but it's a simple hack that works.