The president of India is elected by the members of an electoral College composing of the elected members of both houses of Parliament and the elected members of the legislative assemblies of the states containing national capital territory of Delhi and the Union territory of puducherry consult the constitution.