python code for study