Skip to main content
deleted 2 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38

Python 2, 231 222 216 202 197 193 190189 bytes

i=__import__
t=i("datetime").date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in i("random").sample(range(1,26),25)]
while d:print' '.join(d[0d[:5]);d=d[5:]

Try it online!Try it online!

-3 with many thanks to @AZTECCO

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 190 bytes

i=__import__
t=i("datetime").date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in i("random").sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

-3 with many thanks to @AZTECCO

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 189 bytes

i=__import__
t=i("datetime").date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in i("random").sample(range(1,26),25)]
while d:print' '.join(d[:5]);d=d[5:]

Try it online!

-3 with many thanks to @AZTECCO

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

deleted 7 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38

Python 2, 231 222 216 202 197 193193 190 bytes

from random import*
from datetime import*i=__import__
t=datet=i("datetime").date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in i("random").sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!Try it online!

Those import statements are a killer :-(3 with many thanks to @AZTECCO

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 bytes

from random import*
from datetime import*
t=date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

Those import statements are a killer :-(

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 190 bytes

i=__import__
t=i("datetime").date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in i("random").sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

-3 with many thanks to @AZTECCO

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

added 5 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38

Python 2, 231 222 216 202 197 193 bytes

from random import*
from datetime import*
t=date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

Those import linesstatements are a killer :-(

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 bytes

from random import*
from datetime import*
t=date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

Those import lines are a killer :-(

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

Python 2, 231 222 216 202 197 193 bytes

from random import*
from datetime import*
t=date.today()
y=t.day
d=[(((`x`,"[ ]")[x<y],"[@]")[x==y],`x`)[t.month<12or y>25]for x in sample(range(1,26),25)]
while d:print' '.join(d[0:5]);d=d[5:]

Try it online!

Those import statements are a killer :-(

Examples below use an earlier version of the answer but the formula is the same.

Before December: Try it online!

December after 25th: Try it online!

added 41 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
added 98 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
added 484 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
added 484 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
deleted 4 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
deleted 56 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
deleted 7 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
added 2 characters in body
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading
Source Link
ElPedro
  • 6.5k
  • 2
  • 24
  • 38
Loading