Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
31 |
Tags
- mysql
- sql
- setTimeout()
- 게임
- https://youtube.com/playlist?list=PLuHgQVnccGMA5836CvWfieEQy0T0ov6Jh&si=FTaYv8m21EhO-A2K
- Porject
- Import
- database
- prj
- js
- 혼프
- Project
- ajax
- slow and steady
- execCommand
- eport
- webpack
- 참고블로그
- JS #프로젝트
- https://m.blog.naver.com/tt2t2am1118/221010125300
- await
- json
- 비동기
- callback
- db
- async
- object
- addEventListener
- promise
- 동기
Archives
- Today
- Total
C-log
💡25314번 본문
728x90
N = int(input())
if N % 4 == 0:
print(f"{'long ' * ((N // 4))}int")
굳이 반복문을 사용하지 않고 문제를 풀수 있다. for문을 사용해서 작성한 코드는 아래와 같다.
for _ in range(int(input())//4):
print("long", end=" ")
print("int")
728x90
Comments