Home > other >  Programming small white for your guidance
Programming small white for your guidance

Time:01-18



As shown in figure, ready to do a drawing program, winning personnel cannot repeat awards in
Creates an empty list x
Then add n1 random values in an empty list
When debugging found into x [[n1]], became a nested list
How to judge whether the j in x, is only one element in the x (n1)
Lead to judge the result is not, and cannot be deleted from the names of j element
Finally will repeat lottery
Can you tell me this how to solve

CodePudding user response:

Append to the extend

CodePudding user response:

reference 1st floor cclxpp123 response:
append to the extend

To solve! Thank you for your
  • Related