RE: Teacher: " you won the game "

You are viewing a single comment's thread from:

Teacher: " you won the game "

in dmania •  7 years ago 

GG man, you know how to program in C, but isn't better python?:

line=0

for i in range(0,4):
if line == 0:
print("1")
elseif line == 1:
print("22")
elseif line == 2:
print("333")
elseif line == 3:
print("444")
elseif line == 4:
print("5555")
else:
none
line += 1

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!