Created
March 5, 2017 12:12
-
-
Save savolla/7a9a8b1fe8ffa28f61cfb1da13a56be3 to your computer and use it in GitHub Desktop.
this is very important program. It saves the world from aliens!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ascendant(): | |
x = "\\" | |
c = 1 | |
for i in range(0,20): | |
print(x*c) | |
c += 1 | |
def line(): | |
print("-"*20) | |
def descendant(): | |
x = "/" | |
c = 20 | |
for i in range(0,20): | |
print(x*c) | |
c -= 1 | |
while True: | |
ascendant() | |
descendant() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment