+ 2

How to find the product of entered digit

Like enter digit is 2367 then it's product should be 2×3×6×7=252

24th Oct 2019, 2:03 PM
sanket chaudhari
3 Réponses
+ 4
Just divide the number by 10 and keep the remainder. Remainder will be the first digit. Like this keep on geting the digits and multiply them
24th Oct 2019, 2:12 PM
Arsenic
Arsenic - avatar
0
eval('*'.join(i for i in input()))
24th Oct 2019, 2:45 PM
Trigger
Trigger - avatar
0
Thanks
10th Dec 2019, 8:08 AM
sanket chaudhari