Computer Graphics Basic Code Of Python Function