i am having a problem with “curses” library in python here is my code but i guess the problem is mainly in my python