Convert Python 2 print Statement to Python 3 Function
Description
Python 2’s print is a statement, but Python 3 uses a function. This small but crucial update makes the code compatible with current Python versions.
Original Code (Outdated)
print "Hello World"
Updated Code (Modern)
print("Hello World")