0
Can someone help with this code? Why isn't it working?
w= int(input()) h= int(input()) def area (w,h) return w*h res=area (w,h) print(res)
1 Answer
+ 2
You are missing colon : after function
def area(w, h) :
w= int(input()) h= int(input()) def area (w,h) return w*h res=area (w,h) print(res)