The making of a publication for the 2020 edition of the AMRO festival organised by Servus. (Alice & Manetta are working on this.)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
701 B

3 years ago
import random
3 years ago
width = 102
3 years ago
lines = 8
char = 'o'
space = ' '
ascii = ''
for line in range(lines):
for x in range(width):
if line == 0:
ascii += char
if line == 1:
if x % 2 == 0:
ascii += char
else:
ascii += space
if line == 2:
if x % 3 == 0:
ascii += char
else:
ascii += space
if line == 3:
if x % 4 == 0:
ascii += char
else:
ascii += space
if line == 4:
ascii += space
if line == 5:
if x % 2 == 0:
ascii += char
else:
ascii += space
if line == 6:
if x % 4 == 0:
ascii += char
else:
ascii += space
if line == 7:
if x % 5 == 0:
ascii += char
else:
ascii += space
ascii += '\n'
3 years ago
print(ascii)