728x90
1. Problem: https://py.checkio.org/en/mission/digits-multiplication/
2. My solution:
def checkio(number: int) -> int:
# your code here
dummy = 1;
for number in list(str(number)):
if int(number) != 0: dummy *=int(number)
return dummy
728x90
'프로그래밍 문제 > [Python] CheckIO' 카테고리의 다른 글
[CheckIO/Electronic Station] Acceptable Password IV (0) | 2024.04.07 |
---|---|
[CheckIO/Electronic Station] acceptable-password-ii (0) | 2024.04.07 |
[CheckIO/Scientific-Expedition] Secret Message (0) | 2024.04.07 |
[CheckIO/Scientific Expedition] striped words (0) | 2024.03.24 |
[CheckIO/Scientific Expedition] Beat The Previous (0) | 2024.03.24 |
댓글