generate functionMon, 06 Mar 2023

output ten numbers whose sum is equal to the fractional number entered from the keyboard. digits in a row do not repeat in each number. Each number must contain twelve significant digits. the numbers are positive.

def total(total, n): n = 12 if n == 0: return 0 return total(total - (total / n), n - 1) total(10, 12)

Want to kickstart your project?Use the new AI Studio to create your code