code: def print_linked_list(head):
      string = ""
      while head.next:
          string += head.val + " -> "
          head = head.next
      string += head.val
      print(string)
  
label_desc: Use image node_id 3 for calling a global function with example usage: print_linked_list(head) without return types