Write a Python function, multiply, that takes two number and multiply them | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a Python function, multiply, that takes two number and multiply them

Example: >>>multiply(120,100) 12000 >>>multiply(3,4) 12

17th Oct 2018, 4:54 AM
Kurmanbek Salanov
Kurmanbek Salanov - avatar
3 Answers
+ 7
Don't tell me what to do, how dare you!
17th Oct 2018, 4:55 AM
Ahri Fox
Ahri Fox - avatar
+ 3
Why do u need a function for that ? Simply use * for that
17th Oct 2018, 5:05 AM
Raziul Islam
Raziul Islam - avatar
+ 3
This one gives pretty good results https://code.sololearn.com/c0JjsEChp1ao/?ref=app
17th Oct 2018, 6:17 AM
Anna
Anna - avatar