Skip to content

[fixed] unused variable, standalone running, import doctest module #4673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 28, 2021
Prev Previous commit
Next Next commit
Update matrix/spiral_print.py
Co-authored-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
slowy07 and cclauss authored Aug 28, 2021
commit ef3ea0e0d6739d3a6dffd79452162a1269fc4396
2 changes: 1 addition & 1 deletion matrix/spiral_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def spiralPrint(a):
if checkMatrix(a) and len(a) > 0:

matRow = len(a)
if type(a[0]) == tuple:
if isinstance(a[0], Iterable):
matCol = len(a[0])
else:
for dat in a:
Expand Down