Skip to main content
Commonmark migration
Source Link

#Python 2, 218 200 190 181 176 bytes

Python 2, 218 200 190 181 176 bytes

import time;f='Happy birthday Raffaele Cecco '
while[time.sleep(1)]:v=f[::-1];print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(v[:3],f[12:16])),'\n',v[3:15];f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

-5 bytes by storing reversed f as v and while condition

repl.it

#Python 2, 218 200 190 181 176 bytes

import time;f='Happy birthday Raffaele Cecco '
while[time.sleep(1)]:v=f[::-1];print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(v[:3],f[12:16])),'\n',v[3:15];f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

-5 bytes by storing reversed f as v and while condition

repl.it

Python 2, 218 200 190 181 176 bytes

import time;f='Happy birthday Raffaele Cecco '
while[time.sleep(1)]:v=f[::-1];print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(v[:3],f[12:16])),'\n',v[3:15];f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

-5 bytes by storing reversed f as v and while condition

repl.it

added 81 characters in body
Source Link

#Python 2, 218 200 190 181181 176 bytes

import time;f='Happy birthday Raffaele Cecco '
while while[time.sleep(1)]:print'\n'*90v=f[::-1];print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(f[27:][:v[:-1]3],f[12:16])),'\n',f[15:27][:v[3:-1];time.sleep(1);f=f[115];f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

repl.it-5 bytes by storing reversed f as v and while condition

repl.it

#Python 2, 218 200 190 181 bytes

import time;f='Happy birthday Raffaele Cecco '
while 1:print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(f[27:][::-1],f[12:16])),'\n',f[15:27][::-1];time.sleep(1);f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

repl.it

#Python 2, 218 200 190 181 176 bytes

import time;f='Happy birthday Raffaele Cecco '
while[time.sleep(1)]:v=f[::-1];print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(v[:3],f[12:16])),'\n',v[3:15];f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

-5 bytes by storing reversed f as v and while condition

repl.it

added 54 characters in body
Source Link

#Python 2, 218 200 190190 181 bytes

f='Happyimport time;f='Happy birthday Raffaele Cecco ';import time'
while 1:print'\n'*30print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(f[-1]+f[-3f[27:-1][][::-1],f[12:16])),'\n',f[-15f[15:-3][27][::-1];time.sleep(1);f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

repl.it-9 bytes by removing negative indexing

repl.it

#Python 2, 218 200 190 bytes

f='Happy birthday Raffaele Cecco ';import time
while 1:print'\n'*30,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(f[-1]+f[-3:-1][::-1],f[12:16])),'\n',f[-15:-3][::-1];time.sleep(1);f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

repl.it

#Python 2, 218 200 190 181 bytes

import time;f='Happy birthday Raffaele Cecco '
while 1:print'\n'*90,f[:12],''.join('\n'+a+' '*10+b for a,b in zip(f[27:][::-1],f[12:16])),'\n',f[15:27][::-1];time.sleep(1);f=f[1:]+f[0]

-18 bytes by removing str formatting

-10 bytes, thanks to @Uriel and @ElPedro suggestions

-9 bytes by removing negative indexing

repl.it

deleted 1 character in body
Source Link
Loading
added 69 characters in body
Source Link
Loading
added 5 characters in body
Source Link
Loading
Post Undeleted by Wondercricket
added 103 characters in body
Source Link
Loading
Post Deleted by Wondercricket
Source Link
Loading