for j in range(n, 0 -1):A comma is missing:
for j in range(n, 0, -1):
range
accepts one, two or three arguments.This code:
range(n, 0 -1)
Is evaluated to:
range(n, -1)
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!