Skip to content

Commit 497ac5e

Browse files
authored
Merge pull request #9 from cclauss/patch-1
Typo: resn --> res
2 parents 875990b + baee858 commit 497ac5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

permute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def permute1(seq):
1616
rest = seq[:i] + seq[i+1:]
1717
for x in permute(rest):
1818
res.append(seq[i:i+1] + x)
19-
return resn
19+
return res
2020

2121
for i in permute('maths'):
2222
print(i)

0 commit comments

Comments
 (0)