Skip to main content
"if the preceding operation was a print" isn't the correct condition.
Source Link

Python 2, 36 bytes

for c in'BbBbbbBb':print c+'uffalo',

Try it online!

Relies on the Python 2 print magic that automagically adds a space if the preceding operation wasbefore a printprinted object if it thinks it's not at the beginning of a line.

Python 2 (anagol), 36 bytes

print'uffalo '.join('BbBbbb'*2)[:63]

Try it online!

A trivial modification of the anagol solution is the same length.

Python 3, 38 bytes

print(*[x+'uffalo'for x in'BbBbbbBb'])

Try it online!

Python 3, 41 bytes

print(*map("{}uffalo".format,'BbBbbbBb'))

Try it online!

Python 2, 36 bytes

for c in'BbBbbbBb':print c+'uffalo',

Try it online!

Relies on the Python 2 print magic that automagically adds a space if the preceding operation was a print.

Python 2 (anagol), 36 bytes

print'uffalo '.join('BbBbbb'*2)[:63]

Try it online!

A trivial modification of the anagol solution is the same length.

Python 3, 38 bytes

print(*[x+'uffalo'for x in'BbBbbbBb'])

Try it online!

Python 3, 41 bytes

print(*map("{}uffalo".format,'BbBbbbBb'))

Try it online!

Python 2, 36 bytes

for c in'BbBbbbBb':print c+'uffalo',

Try it online!

Relies on the Python 2 print magic that automagically adds a space before a printed object if it thinks it's not at the beginning of a line.

Python 2 (anagol), 36 bytes

print'uffalo '.join('BbBbbb'*2)[:63]

Try it online!

A trivial modification of the anagol solution is the same length.

Python 3, 38 bytes

print(*[x+'uffalo'for x in'BbBbbbBb'])

Try it online!

Python 3, 41 bytes

print(*map("{}uffalo".format,'BbBbbbBb'))

Try it online!

Source Link
Sisyphus
  • 15k
  • 3
  • 45
  • 88

Python 2, 36 bytes

for c in'BbBbbbBb':print c+'uffalo',

Try it online!

Relies on the Python 2 print magic that automagically adds a space if the preceding operation was a print.

Python 2 (anagol), 36 bytes

print'uffalo '.join('BbBbbb'*2)[:63]

Try it online!

A trivial modification of the anagol solution is the same length.

Python 3, 38 bytes

print(*[x+'uffalo'for x in'BbBbbbBb'])

Try it online!

Python 3, 41 bytes

print(*map("{}uffalo".format,'BbBbbbBb'))

Try it online!