Why does it run the list in order and how can I make it choose randomly? I am really really new to python
def chooseOutcome():
#random choice
functionList = [heavyHeal("water"), heavyHeal("bandages")]
random.choice(functionList)
#random choice end
Aucun commentaire:
Enregistrer un commentaire