[TIL] Algorithms Day 2 - Math, Stack, Queue
Problem 1. Adding Cycle
M = int(input())
N = M # saving input value by copying it in another variable
count = 0
while True:
first = N // 10
second = N % 10
num = first + second
num = num % 10
N = 10 * second + num
count += 1...
siwonlog.hashnode.dev3 min read