You are viewing a single comment's thread from:

RE: 00. LPTHW (Appendix A) : Command Line Crash Course with Programming Challenge at the end, rewarding 25SBD for best solution.

in #programming7 years ago (edited)

Task #2 (was award already given? I assume it did)

Language: Python

for number in range(1,100):
    if number%3 == 0 and number%5 == 0:
        print('SteemIt')
    elif number%3==0:
        print('Steem')
    elif number%5 == 0:
        print('It')
    else:
        print(number)
Sort:  

Nicely done, @veleje!
The award hasn't been given out yet. Judge will decide the winning solution at the end of the payout of this post.

Yay, I was not logged in to steemit for about two months, I just saw I got it. YES!! ;-) and thank you!