Skip to main content
added 228 characters in body
Source Link
6infinity8
  • 381
  • 1
  • 10

Scala, 56 48 47 45 42 bytes

1 to'd'filter(_+""forall(50!=))map println

Prints the elements separated by a line.

Here is a 38 bytes version that calls toString (technically allowed by the rules):

print(1 to'd'filter(_+""forall(50!=)))

Resulting in:

Vector(1, 3, 4, ..., 100)

Scala, 56 48 47 45 42 bytes

1 to'd'filter(_+""forall(50!=))map println

Scala, 56 48 47 45 42 bytes

1 to'd'filter(_+""forall(50!=))map println

Prints the elements separated by a line.

Here is a 38 bytes version that calls toString (technically allowed by the rules):

print(1 to'd'filter(_+""forall(50!=)))

Resulting in:

Vector(1, 3, 4, ..., 100)
added 7 characters in body
Source Link
6infinity8
  • 381
  • 1
  • 10

Scala, 56 48 47 4545 42 bytes

for(i<-1 to'd'if i+""forallto'd'filter(__+""forall(50!=50=))map println(i)

Scala, 56 48 47 45 bytes

for(i<-1 to'd'if i+""forall(_!=50))println(i)

Scala, 56 48 47 45 42 bytes

1 to'd'filter(_+""forall(50!=))map println
added 8 characters in body
Source Link
6infinity8
  • 381
  • 1
  • 10

Scala, 56 48 4747 45 bytes

for(i<-1 to 100 ifto'd'if i+""forall(_!=50))println(i)

Scala, 56 48 47 bytes

for(i<-1 to 100 if i+""forall(_!=50))println(i)

Scala, 56 48 47 45 bytes

for(i<-1 to'd'if i+""forall(_!=50))println(i)
added 9 characters in body
Source Link
6infinity8
  • 381
  • 1
  • 10
Loading
typo
Source Link
6infinity8
  • 381
  • 1
  • 10
Loading
Source Link
6infinity8
  • 381
  • 1
  • 10
Loading