Given the following code, identify whether it's syntactically correct.
def print_name ():
  print("John")
The code provided is syntactically correct. It defines a function called `print_name()` that has no parameters and will print the string "John" to the console when it is called.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given the following code, identify whether it's syntactically correct.

### Input:
def print_name ():
  print("John")

### Output:
The code provided is syntactically correct. It defines a function called `print_name()` that has no parameters and will print the string "John" to the console when it is called.