Skip to content

Instantly share code, notes, and snippets.

@Xotabu4
Created February 6, 2016 20:21
Show Gist options
  • Save Xotabu4/0dd9b6c88966276b17f4 to your computer and use it in GitHub Desktop.
Save Xotabu4/0dd9b6c88966276b17f4 to your computer and use it in GitHub Desktop.
onumber = 8
results = [onumber]
counter = onumber
while counter != 0:
print(' '.join([str(i) for i in results]))
counter -= 1
results.append(counter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment