+ 5

“Itertools.permutations” question

Can somebody help me please! When I use “itertools.permutations” function it correctly deals with strings up to 7 symbols long. But once I give it a string 8 or more symbols it returns “no output”. Who knows how can I fix it? Thank you, guys!

22nd Jan 2020, 8:33 AM
Mikhail Solovyev
Mikhail Solovyev - avatar
8 odpowiedzi
+ 7
If you ran your code on SL playground, then it's probably because the output is too big, and SL can't handle it.
22nd Jan 2020, 9:01 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 5
Mikhail there is a limit to how much servers can handle. It is always recommended to learn using a computer or mobile app designed to run code.
22nd Jan 2020, 9:50 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 3
Mikhail perfect 👌
22nd Jan 2020, 9:57 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
Yes, I’ve ran it only in SL mob app. I tried to solve one of the SL challenges in pro mode, named “Word Rank”, that could give me +100XP for right solution) But it seems that SL can’t handle it😢 shame( Thank you, Aymane!👍
22nd Jan 2020, 9:48 AM
Mikhail Solovyev
Mikhail Solovyev - avatar
+ 2
Thank you, ~ swim ~! I hope it’ll take me no more than a year to understand your script)) I’m just starting to learn programming)
22nd Jan 2020, 11:52 AM
Mikhail Solovyev
Mikhail Solovyev - avatar
+ 1
But that is exactly what I do! I learn on my pc, and then use my knowledge in SL app to solve challenges trying to grab as many XPs as possible)))
22nd Jan 2020, 9:56 AM
Mikhail Solovyev
Mikhail Solovyev - avatar