Update Screen Function Code In Python For Beginners