vendredi 5 mars 2021

How do I create a list in python?

Hello I want to create a list in Python which will be fulled with 100 users. I want every user to have a variable "state" which indicates some users' actions like park, unpark. When my programm runs I want for every user a state to be selected randomly.

For example user(0) parks. user(1) unparks.

Could someone help?




Aucun commentaire:

Enregistrer un commentaire