User:Qawtykit
Jump to navigation
Jump to search
Languages I made
Looping counter Collection
Looping counters that i made
Esoteric
DUP
1[1$=][0[^^>][42,1+]#10,1+]#
LOLCODE
HAI 1.3
I HAS A COUNT ITZ 1
I HAS A MAX ITZ 0
IM IN YR INF
IM IN YR LOOP UPPIN YR MAX TIL BOTH SAEM MAX AN COUNT
VISIBLE "*"!
IM OUTTA YR LOOP
VISIBLE ":)"!
COUNT R SUM OF COUNT AN 1
IM OUTTA YR INF
KTHXBYE
Set
set l 1 set c 0 set ! * set c (c+1) [c/l] set ? 3 set ! 10 set l (l+1) set c 0 set ? 3
Shakespeare
Counting forever. Romeo, because he is the first one i thought of. Juliet, because she is the second one i thought of. Macbeth, because he is the third one i thought of. Act I: the only act, TODO: replace the big cats. Scene I: Endless counting. [Exeunt] [Enter Romeo and Juliet] Juliet: You are the difference between the product of the sum of a big big big big cat and a big big big cat and a big cat and the sum of a big big cat and a big cat! Romeo: You are the sum of thyself and a cat. [Exit Romeo] [Enter Macbeth] Juliet: You are nothing. Scene II: Endless counting cont. Macbeth: Am I as good as you? If not, let us proceed to Scene III. [Exit Macbeth] [Enter Romeo] Juliet: You are the product of the sum of a big big cat and a cat and a big cat! Speak thy mind! Romeo: Let us proceed to Scene I. Scene III: the incrementation of Macbeth. [Exit Macbeth] [Enter Romeo] Juliet: Speak thy mind! [Exit Romeo] [Enter Macbeth] Juliet: you are the sum of thyself and a cat. Juliet: Let us proceed to Scene II. [Exeunt]
Non-Esoteric
Lua
local count = 1
while true do
for i=1,count,1 do io.write("*") end
io.write("\n")
count=count+1
end
Python
count = 1
while True:
for i in range(count):
print("*",end="")
count += 1
print("\n",end="")