def entry(text="Enter digit: "): return int(input(text))
# 3.
digits=[entry() for _iteration in range(3)]
result=sum(digits)
print("#3. Result: ", result)
# 4.
# К сожалению, я люблю numpy.
import numpy
digits=[entry() for _iteration in range(3)]
sumary=sum(digits)
prod=numpy.prod(digits)# Только поглядите, как удобно.
print(f"#4. Result:\n\tSumary: {sumary}\n\tProduce: {prod}")
# 5. (That left aligned)
digits=[entry() for _iteration in range(3)]
result=max(digits)
print("#5. Result: ", result)
# 5. (That right aligned)
import numpy
digits=[entry() for _iteration in range(3)]
sumary=sum(digits)
prod=numpy.prod(digits)
mean=numpy.mean(digits)# И не нужно страдать фигней, правда?
print(f"#5. Result:\n\tSumary: {sumary}\n\tProduce: {prod}\n\tMean: {mean}")