Skip to content

Instantly share code, notes, and snippets.

@z-shah
Created July 5, 2020 07:03
Show Gist options
  • Save z-shah/47a16f14164b5cd6334bfbaf2dee0f1f to your computer and use it in GitHub Desktop.
Save z-shah/47a16f14164b5cd6334bfbaf2dee0f1f to your computer and use it in GitHub Desktop.
for i, j in zip(range(1,8,2), range(3,-1,-1)):
print(i,j)
print(j*' '+ '*'*i + j*' ')
for i, j in zip(range(5,0,-2), range(1,4,1)):
print(i,j)
print(j*' '+ '*'*i + j*' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment