Created
May 30, 2017 08:50
-
-
Save nattybear/1573619e6022ca69284d6ca1ac913343 to your computer and use it in GitHub Desktop.
[4주차 미션] 자릿수 늘리며 더하기
This file contains hidden or 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
sum = 0 | |
for i in range(1, 7): | |
for j in range(i): | |
sum = sum + (10 ** j) | |
print(sum) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment