#the code given is:
def f(a):
    print('hello')
@f    
def f(a,b):
    return a%b
f(4,0)    
What I expected to happen was a zero division error, instead it printed hello. When I write the same code without '@f' it gives the expected result as output I've never seen symbol/expression being used in python This is new and Google too has nothing about it
 
    