<human>:  Give me a Python function to initialize the pagerank vector.
<bot>: = 1
  return pr_vec

# Enter the number of nodes
n = 10

# Calling the function
pr_vec = init_pr_vec(n)

#Remember to inspect code for bugs.