jeudi 1 août 2019

fill an excel row with random numbers ranging from 0 to 1

I want to create a row ("Random") in an excel file ("final") in which the cells will be filled randomly ranging from 0 to 1. Most of the information I find online concluds to something similar with the following which doesnt help me:

import random
for x in range(10):
  print random.randint(1,101)

Any ideas on the function I need to use?




Aucun commentaire:

Enregistrer un commentaire