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!

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.030
BTC 59085.79
ETH 2543.81
USDT 1.00
SBD 2.36