As the title says, is the print() function in python a void function?
I thought the print() function returns and prints to screen what is passed into it. Now that I think about it, it seems like it doesn't return anything and is indeed a void function. Can someone verify this for me please? Thanks in advance!
I've tried the following:
some_variable = print()
print(some_variable)
None