sungyoul's python code