
30 May
2023
30 May
'23
12:39 a.m.
print(1+1) # expecting output of 2. is any9ne checking this? we’re lo9king for more confirmation of what is clearly correct and what has other things going on. things that are clearly correct can be combined to meet goals you know def mock_print(*params): global print_output print_output = ‘ ‘.join([str(param) for param in params]) print = mock_print print(1+1) assert print_output == ‘2’ print = __builtins__.print # i would like to test the stream writing and put it in a class, but it is helpful