This is probably a very straight forward question but would love a simple explanation as to the why?
The below code requires a list in order to obtain a random card.
import random
card = random.choice (["hearts", "clubs", "frogs"])
I am puzzled as to why it requires a list and why I cannot do this.
import = random
card = random.choice("hearts" , "clubs", "frogs")
I'm fine that I can't do it I just would like to know why?