Question: What is the proper way to define a function?

  1. `def getMaxNum(list_of_nums): # body of function goes here`
  2. `func get_max_num(list_of_nums): # body of function goes here`
  3. `func getMaxNum(list_of_nums): # body of function goes here`
  4. `def get_max_num(list_of_nums): # body of function goes here`

Answer: The correct answer of the above question is Option D:`def get_max_num(list_of_nums): # body of function goes here`