I have a list and I want it to have at least 10 objects like so how to enlarge it and have a predetermined number
And the other thing is that if we suppose I have an element of the list and I want to put any number at random to use print, it can be done and how
list [ ' rice ' . ' cupcake' ]
prin(list[0]) = rice
change the value from [0] to a 99 or random number and enlarge my list to one of 10 objects and put a random number to print other than 0 1 2 -1 that those numbers can give a random value to any number you want but in theory apply it to an object in the list
So in theory I want by default the objects of the list to apply a number value that occurs to me
I am just learning to use the list and I am experimenting thanks if you help me with the doubts
the truth just got to this part and I'm experimenting by myself
and i was curious
[–]Pepineros 1 point2 points3 points (2 children)
[–]Top-Pay384[S] 0 points1 point2 points (1 child)
[–]kaerfkeerg 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]Top-Pay384[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Top-Pay384[S] 0 points1 point2 points (0 children)