Alright, basically. I am working on a random script to “find clothes” and clothes are in a list. So we got shoes and all such, in a list. All though i can’t seem to figure out how to print only one of the elements in the list. I originally used “` random.choice(clothes) “` but then i couldn’t figure out how to remove that option from the list, because if that is a choice i’d do that instead
submitted by /u/Easy-Paramedic-5611
[link] [comments]
r/learnpython Alright, basically. I am working on a random script to “find clothes” and clothes are in a list. So we got shoes and all such, in a list. All though i can’t seem to figure out how to print only one of the elements in the list. I originally used “` random.choice(clothes) “` but then i couldn’t figure out how to remove that option from the list, because if that is a choice i’d do that instead submitted by /u/Easy-Paramedic-5611 [link] [comments]
Alright, basically. I am working on a random script to “find clothes” and clothes are in a list. So we got shoes and all such, in a list. All though i can’t seem to figure out how to print only one of the elements in the list. I originally used “` random.choice(clothes) “` but then i couldn’t figure out how to remove that option from the list, because if that is a choice i’d do that instead
submitted by /u/Easy-Paramedic-5611
[link] [comments]