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)

25th Mar 2022, 8:43 PM
Ecenaz Sakkaoğlu
Ecenaz Sakkaoğlu - avatar
1 Answer
+ 2
You are missing colon : after function def area(w, h) :
25th Mar 2022, 8:47 PM
Jayakrishna 🇼🇳