dot01.py

Created by vef03715

Created on February 01, 2021

331 Bytes


from kandinsky import *

def dot01():
  str1=input("4chr=")
  str2=input("1chr=")
  draw_string(str1,0,0)
  for x in range(0,40):
    for y in range(0,15):
      a=get_pixel(x,y)
      if a!=color('white'):
        draw_string(str2,x*8,y*14,a)
        set_pixel(x,y,'white')
      else:
        set_pixel(x,y,'black')