We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 875990b + baee858 commit 497ac5eCopy full SHA for 497ac5e
permute.py
@@ -16,7 +16,7 @@ def permute1(seq):
16
rest = seq[:i] + seq[i+1:]
17
for x in permute(rest):
18
res.append(seq[i:i+1] + x)
19
- return resn
+ return res
20
21
for i in permute('maths'):
22
print(i)
0 commit comments