c 语言的 rand() 函数包含在 stdlib.h 中 ,并且 必须要 srand() , 否则 随机数会一样,
但是,python 中的 random.random() 并不用设置随机数种子也能得到 变化的随机数。