the output is print() because you are printing print.
by doing print('print(")') you have two single apostrophes surrounding what the program thinks is a string, which in your case is print() .
however, doing print(print("string")) will fix your problem but output will be:
string
None
hope this helps a little