I thought there should be else in place of cons? and what&#39;s the use of cons? here.<br><br><br><br>Aditya<br>