Skip to content

Instantly share code, notes, and snippets.

@anabastos
Last active October 2, 2016 19:41
Show Gist options
  • Save anabastos/6324df1fce61a18ec967 to your computer and use it in GitHub Desktop.
Save anabastos/6324df1fce61a18ec967 to your computer and use it in GitHub Desktop.
triangulinho
n= input("Numero de linhas: ")
if n>1:
for i in range(n):
n-=1
print " "*n+"."+" ."*i
else:
print(".")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment