Learn practical skills, build real-world projects, and advance your career
### Today's Agenda:

#### Error Handling #### Best Practices - Comprehensions -List Compre. -Dict Compre. #### Lambda Expressions #### Map/Filter/Reduce #### Exercises.
 
Error Handling

age= int(input('enter your age ?'))
print('you are ',age ,' years old')


print('testing testing')
enter your age ?gghhh
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-5-8447b28cbb4e> in <module> ----> 1 age= int(input('enter your age ?')) 2 print('you are ',age ,' years old') 3 4 5 print('testing testing') ValueError: invalid literal for int() with base 10: 'gghhh'
-- Runtime Error or Exceptions

-- Exceptions are bad , they crash the program(terminate)