Set Methods In Python Example Code