Quote:>>> print(print("hello"))All functions return None if not returning anything else. And in python3.x print is a function. The inner hello function runs, and prints hello. Then returns...which returns None. So the outer print becomes
hello
None
Quote:print(None)Which that print outputs the return value of None.
Recommended Tutorials: