0
Would there be a better/faster way to make this?
5 Antworten
+ 3
https://code.sololearn.com/ciTsAH5P1vxs/?ref=app
+ 1
Take an empty list , and add your choice to list.
Repeat this step until list length is less than 5.
Note : don't add choice if choice already in list.
How?
if char1 not in list : list.add(char1)
Then You can do the same within 5 lines..
hope it helps..
+ 1
Can be done with 2 different sets and use the sets operator
least the way i would do it reading your
Doc at the bottom
+ 1
Simon Sauter Omg thank you so much <3
+ 1
hmm didnt know they had a random mod like that im doing it the set way hehe
it was already something built like that...
but i will post anyways
https://code.sololearn.com/cDbvsw9C9fWL