So, i have this text file which contains this infos:
rect 20 20 80 50 True tri 80 50 20 35 False
What i want to do is i want to write a funct