This is not exactly a print() function, but when you are working in IDLE interactive mode, it shows you the value of an expression. This does not work when you are running a script file.
3 + 36
39