mardi 22 mars 2016

Error trying to randomly choose numbers from 0 to 9

I'm trying to write a piece of code to randomly choose a number from 0 to 9(included) and i don't know what am i getting wrong since when i run it returns an error.

import random
print(random.randint(0,9))

enter image description here




Aucun commentaire:

Enregistrer un commentaire