일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- first-time robot setup guide
- nav2 튜토리얼
- Nav2 document
- ros2 transformations 개념
- ros2 튜토리얼
- humble 환경설정
- 코드업
- nav2 first-time robot setup guide
- ros2 foxy tutorial
- ros2 foxy docker
- docker foxy
- ros2 환경설정
- humble development guides
- nav2 설치
- ros2 development guides
- Foxy tutorial
- error
- setting up transformations
- nav2 development guides
- CODEUP 6073
- nav2 dev contatiner
- ROS FOXY 튜토리얼
- ros2 remapping
- CodeUp
- Python
- ros2 configuring environment
- ros2 튜토리얼 환경설정
- nav2 getting started
- foxy nav2
- nav2 tutorial
Archives
- Today
- Total
BAN2ARU
[백준/Python] 1110번 : 더하기 사이클 본문
반응형
- 코드 (252B)
import sys
n = int(sys.stdin.readline())
n_new = n
count = 0
while (True) :
n_first = n_new // 10
n_end = n_new % 10
n_add = n_first + n_end
n_new = n_end * 10 + n_add % 10
count += 1
if(n == n_new) :
break
print(count)
728x90
'Coding Test > BaekJoon' 카테고리의 다른 글
[백준/Python] 1065번 : 한수 (0) | 2022.10.17 |
---|---|
[백준/Python] 2562 최댓값 (0) | 2022.10.08 |
[백준/python] 10951번 : A+B - 4 (0) | 2022.09.14 |
[백준/Python] 10952번 : A+B - 5 (0) | 2022.09.14 |
[백준/Python] 10871번: X보다 작은 수 (0) | 2022.08.17 |
Comments