n=int(input())m=ns=1if (n!=0): a=n%10 s=s*a n=n//10print(f"數字{m}的每一位乘積是:{s}")
456
數字456的每一位乘積是:6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!