Files
pythonProject/one.py
Victor Alexandrovich Tsyrenschikov 46243b00b4 Python project
2026-01-28 20:30:02 +05:00

10 lines
111 B
Python

a=int(input())
s=0;p=1
while a>0:
b=a%10
s=s+b
if b!=0:
p=p*b
a=a//10
print(p)
print(s)