Re: scratching my head on this
Shows what I know haha.Gotta learn more python.
URL: https://forum.audiogames.net/post/411970/#p411970
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo
Re: scratching my head on this
Hi there You can solve this by generating a list which contains the permutations items. I've used a list compreension in the following codeI will post 2 solutions, one with the list compreension, the other will achieve the same thing just with an ord
Re: scratching my head on this
Hi there You can solve this by generating a list which contains the permutations items. I've used a list compreension in the following codeI will post 2 solutions, one with the list compreension, the other will achieve the same thing just with an ord
Re: scratching my head on this
Correct me if I'm wrong, but you've defined list as a string rather than an array.
URL: https://forum.audiogames.net/post/411929/#p411929
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-guc
Re: scratching my head on this
import itertoolslist="coffee"for word in itertools.permutations(list):>>print("".join(word))items=len(word)pritems I only prints the length of the word in the list word.
URL: https://forum.audiogames.net/post/411886/#p411886
Re: scratching my head on this
Crap it didn't post my code but basicly I'm trying to count the number of items in the generated permutations list.
URL: https://forum.audiogames.net/post/411884/#p411884
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-guc
scratching my head on this
So I'm trying to count permutations in python.import itertoolslist=
URL: https://forum.audiogames.net/post/411880/#p411880
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/ma