Pull to refresh
0
Send message

Простая задача. Можно и за один вызов функции решить)))

sum = magic(10**60, 10**30, 1)

a = round(sum / (10**60))

rest = sum - (a * (10**60))

b = round(rest / (10**30))

c = rest - (b * (10**30))

print(a,b,c)

 

 

 

Вопрос - заочно можно?

Information

Rating
Does not participate
Registered
Activity