New answers tagged

1

05AB1E, 19 bytes …--:ûŽmy3'::[=s₄;.W Try it online! Beats all other answers. Outputs each string on a new line.


3

Python 3, 75 bytes import time x=['12:00','--:--'] for i in x:x+=[i];print(i);time.sleep(.5)


1

Stax, 22 20 bytes å√Φ←mp═╠╗⌐fâêÇY)♀╗}% Run and debug it


1

QBasic, 51 bytes LOCATE 1 IF TIMER*2MOD 2THEN?"12:00"ELSE?"--:-- RUN Try it at Archive.org (but note that it's an infinite loop, so there's no way to exit the program besides closing/refreshing your browser). Displays both strings on the top line of the screen. If you're using actual QBasic rather than QB64, you'll notice that the program ...


1

QBasic, 71 bytes DO CLS LOCATE 24-ABS(i MOD 46-23),80-ABS(i MOD 158-79) ?"O"; i=i+1 LOOP This version loops forever, although it might break when i gets too large--I haven't tested. Also, how fast it moves depends on the hardware you use, but on the emulator at Archive.org it runs too fast to see the motion. Therefore, here's a somewhat friendlier ...


Top 50 recent answers are included