Python project

This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2026-01-28 20:30:02 +05:00
parent 6245a01990
commit 46243b00b4

11
one.py
View File

@@ -1 +1,10 @@
s=input() 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)