3 ms·
One can also do better with the right choice of characters: ╲ ╱ from random import choice; print(''.join(choice(('╲', '╱')) for i in range(10000)))
by KwanEsq 9y ago
One can also do better with the right choice of characters: ╲ ╱
from random import choice; print(''.join(choice(('╲', '╱')) for i in range(10000)))