Python 2020. 6. 14.
파이썬 입출력과 삼항연산자
############################## # sep은 print이후에 number = int(input()) value = 10000 for i in range(5): number1 = number // value print([number1*value],sep='\n') number = number - number1*value value = value // 10 ############################## time = input().split(':') print(int(time[1])) ############################ date = input() year, month, day = date.split('.') print(day+'-'+month+'-'+year) ..