Assembly , Prachanda chairman , won 577 out of 577 votes . A simple majority was enough to be elected the prime minister . Communist Party of Nepal declared Nepal a republic in April this year elected first president . The post of president is largely ceremonial . The assembly declared Nepal a republic in May and in July elected Nepal 's first president , physician Ram Baran Yadav . PM has executive powers .
Assembly , Prachanda chairman , won 577 out of 577 votes . A simple majority was enough to be elected the prime minister . Communist Party of Nepal declared Nepal a republic in April this year elected first president . The post of president is largely ceremonial . PM has executive powers .