I cant get output. .saying x not defined | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I cant get output. .saying x not defined

https://code.sololearn.com/c99hbBtPK0wU/?ref=app

11th May 2019, 7:36 AM
Y AD Ù
Y AD Ù - avatar
3 Answers
+ 7
Your x and y input are not part of the function, thus they must not be intended.
11th May 2019, 7:38 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
So shld i be defining x and y before defining my function?
11th May 2019, 7:39 AM
Y AD Ù
Y AD Ù - avatar
+ 1
Ok thanks prometheus.. i got it
11th May 2019, 7:41 AM
Y AD Ù
Y AD Ù - avatar