0

I don't want 8 in the code and leaving the space blank results in error plz help

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

9th May 2020, 7:28 AM
Cupcakes
3 Answers
+ 2
Obviously it will generate error because you are specifying a parameter a ,remove the parameter and define it inside function
9th May 2020, 7:35 AM
Abhay
Abhay - avatar
+ 1
Thanks
9th May 2020, 2:28 PM
Cupcakes
0
Can I define a parameter and implementa the code without defining it inside the function? The goal is to define a parameter (int) for the function and then implementing it
13th May 2020, 8:06 AM
Cupcakes