# -*- coding: utf-8 -*-
"""
Created on Wed Feb 15 09:10:47 2017

@author: Anju
"""

#Why is there an error in the code.

def foo(a=1,b=2):
    return a+b

#x=foo-1

#The above is teh given question

#it is because the foo is missing the ()

x = foo()-1
       