Julia, 44 bytes - 25 = 19
r=readline()
n=r>""?int(r):2
print("@"^44n)
This reads a line from STDIN using readline(). If it's empty, i.e. no input has been provided, then n is defined to be the input converted to an integer. Otherwise n is 2. We then print 44n @s to STDOUT.
Alex A.
- 24.8k
- 5
- 39
- 120