Skip to main content
added 64 characters in body
Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 3131 27 bytes

seq $1 9 $(($1?99:0))|xargs

Try it online!

previous

eval echo {$1..$(($1?99:0))..9}

Try it online!

Bash, 31 bytes

eval echo {$1..$(($1?99:0))..9}

Try it online!

Bash, 31 27 bytes

seq $1 9 $(($1?99:0))|xargs

Try it online!

previous

eval echo {$1..$(($1?99:0))..9}
Post Undeleted by marcosm
added 25 characters in body
Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 2131 bytes

eval echo {$1..$(($1?99:0))..9}

Try it online!Try it online!

Bash, 21 bytes

eval echo {$1..99..9}

Try it online!

Bash, 31 bytes

eval echo {$1..$(($1?99:0))..9}

Try it online!

Post Deleted by marcosm
Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 21 bytes

eval echo {$1..99..9}

Try it online!