Created
March 11, 2019 15:49
-
-
Save encukou/77376e445356a9843e278ba387b168f0 to your computer and use it in GitHub Desktop.
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 obrazek(level): | |
if level == 0: | |
return """ | |
~~~~~~~ | |
""" | |
elif level == 1: | |
return """ | |
+ | |
| | |
| | |
| | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 2: | |
return """ | |
+---. | |
| | |
| | |
| | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 3: | |
return """ | |
+---. | |
| | | |
| | |
| | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 4: | |
return """ | |
+---. | |
| | | |
| O | |
| | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 5: | |
return """ | |
+---. | |
| | | |
| O | |
| | | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 6: | |
return """ | |
+---. | |
| | | |
| O | |
| --| | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 7: | |
return """ | |
+---. | |
| | | |
| O | |
| --|-- | |
| | |
| | |
~~~~~~~ | |
""" | |
elif level == 8: | |
return """ | |
+---. | |
| | | |
| O | |
| --|-- | |
| / | |
| | |
~~~~~~~ | |
""" | |
else: | |
return """ | |
+---. | |
| | | |
| O | |
| --|-- | |
| / \\ | |
| | |
~~~~~~~ | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment