Create String Buffer Python Code Practice