From 46243b00b4bf6601588b26e9f3eea4df93747f07 Mon Sep 17 00:00:00 2001 From: Victor Alexandrovich Tsyrenschikov <77172321+tsyrenschikov@users.noreply.github.com> Date: Wed, 28 Jan 2026 20:30:02 +0500 Subject: [PATCH] Python project --- one.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/one.py b/one.py index dc7d922..f6555f6 100644 --- a/one.py +++ b/one.py @@ -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) \ No newline at end of file