0
Python
What is the difference between print() and print(a)?
2 Réponses
+ 2
The latter prints the value of 'a'. There is no difference in the functions as they are both the same.
0
print() outputs a newline.
print(a) outputs the value of a and then a newline.
The difference is whether or not print is given an argument to output before the newline.