(Dec-27-2018, 07:19 AM)s_sahil Wrote: Bro, I am new to python.
can you please tell why are we using try and except in this code
Because we assume that some error may appear and when it happens we should receive a clear message. In this case if a user receives a value error he didn't add a number and that's what we want him to know.