test code for all python learning