Question: what is the difference between print and write?
Answer: 5 Answers. print() formats the output, while write() just prints the characters it is given. ... To illustrate the difference, write(int) interprets the argument as a single character to be printed, while print(int) converts the integer into a character string.