Wat? First, why do you call print a method? It is a function. Second, it doesn't "expect" a string, it will take whatever you give to it (its signature starts with *args). And third, of course print(1) works, in every Python I know. What exactly did you try to write and what happened?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.