Added two python solutions for PE