+ 1

Need a help with this in Python

Write a function that accepts a whole positive number as an argument. The function should divide the number into two parts so that the product of the two numbers obtained is minimal.

27th Oct 2022, 3:39 PM
Ivona Vranic
Ivona Vranic - avatar
3 Answers
27th Oct 2022, 6:43 PM
Oma Falk
Oma Falk - avatar
+ 2
For example: 234 ,output is : 2 and 34
27th Oct 2022, 4:38 PM
Ivona Vranic
Ivona Vranic - avatar
+ 1
0 and number
27th Oct 2022, 4:34 PM
Oma Falk
Oma Falk - avatar