- 5

Hey guy am new in python

it not printing the result as expected

22nd Jun 2021, 5:01 PM
Micheal Alfred
4 Respostas
+ 2
If you are referring to this code: https://code.sololearn.com/WGYLtYVpA7f8 the issue was with the return statement. it was missing its parenthesis. I believe this code example below solves your issue. function answer(a, b) { return (a * b); } var x = answer(5, 6); document.write(x);
22nd Jun 2021, 5:16 PM
EO4Wellness
EO4Wellness - avatar
23rd Jun 2021, 5:14 AM
Cmurio
Cmurio - avatar
0
I can't see the code 👀
22nd Jun 2021, 5:10 PM
Ananiya Jemberu
Ananiya Jemberu - avatar