number = input("Число: ")
dobutok = 1
for i in number:
dobutok *= int(i)
print("Добуток: ", dobutok)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
number = input("Число: ")
dobutok = 1
for i in number:
dobutok *= int(i)
print("Добуток: ", dobutok)