Created
March 31, 2017 17:29
-
-
Save ewmson/52ad7fd8ccb49fa95fe1d73a93bd5cd7 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
x = raw_input() | |
result = eval(x) | |
res = str(result) | |
print('++>') | |
print('+++>') | |
print('[<+>-]<') | |
z = 2 | |
for c in res: | |
print(((255 + (ord(c) - z))*'+') + '.') | |
z = ord(c) - 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment