what is the answer to this question? Fill in the blanks to define a function that takes two arguments and prints their multiplac | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

what is the answer to this question? Fill in the blanks to define a function that takes two arguments and prints their multiplac

what is the answer to this question? Fill in the blanks to define a function that takes two arguments and prints their multiplacation. The only code it gives me is _print_multi(x,y)_ print(x*_)

15th Nov 2019, 2:12 AM
Erick Flesch
Erick Flesch - avatar
10 Answers
+ 3
def print_multi(x,y): print(x* y)
12th May 2020, 9:40 PM
غزة-الربح من الانتر نت
غزة-الربح من الانتر نت - avatar
+ 3
function myFunction(x, y) { alert(x + y ); }
28th Jun 2020, 5:41 AM
Faith Mundi
Faith Mundi - avatar
+ 1
Fill in the blanks to create a function that multiplies its parameter by 2 and returns the result. double(int x) { return x * 2; }
24th Sep 2023, 8:01 AM
Kalpani Kapuge
Kalpani Kapuge - avatar
0
When is the "return" statement most frequently needed? When you need to add a pop-up window to the screen When you need to input data When you need to make a calculation and receive the result
2nd Jun 2023, 7:13 AM
Madhusudan Nahak
Madhusudan Nahak - avatar
- 1
13th Aug 2020, 12:19 PM
omo daniel
omo daniel - avatar
- 1
Function double (num){ Console.log(num*2); }
15th Oct 2022, 2:54 AM
Rajesh Mondal
Rajesh Mondal - avatar
- 1
Answer function return
21st Oct 2022, 10:52 PM
saki
saki - avatar
- 2
def : y
10th Feb 2021, 12:07 PM
Md Momin Uddin Hridoy
Md Momin Uddin Hridoy - avatar
- 2
1. def 2. : 3. y
27th Aug 2021, 2:42 PM
PRINCE KUMAR
PRINCE KUMAR - avatar
- 11
To answer this, you need to study functions, and I can see you barely even started python. Please finish python course, or at least up to functions lesson, before asking such basic questions.
15th Nov 2019, 2:20 AM
Aymane Boukrouh
Aymane Boukrouh - avatar