Python lab 6