clavier.py

Created by julien-bernon

Created on June 14, 2020

227 Bytes


import ion
import kandinsky as k
while True
  i=0
  while not ion.keydown(i) :
    
    i+=1
    i=i%50
  color=(255,255,255)
  k.fill_rect(0,0,320,240,color)
  k.draw_string(str(i)+" - "+str(ion.keydown(i)),0,0)