# n = int(input())## for i in range(n):# for j in range(n):# if i == 0 or j == 0 or i == n-1 or j == n-1 or i == j or (i+j-1)==n or i==n//2 or j==n//2:# print('*', end='')# else:# print(' ', end='')# print()# n,k=map(int,input().split())## for i in range(n):# for j in range(n):# if i==0 or j==0 or i==(n-1) or j==(n-1) or (i+j+1)%k==0:# print('*', end='')# else:# print(' ', end='')# print() #(i+j+1)%k==0# n=int(i# n = int(input())
#
# for i in range(n):
# for j in range(n):
# if i == 0 or j == 0 or i == n-1 or j == n-1 or i == j or (i+j-1)==n or i==n//2 or j==n//2:
# print('*', end='')
# else:
# print(' ', end='')
# print()
# n,k=map(int,input().split())
#
# for i in range(n):
# for j in range(n):
# if i==0 or j==0 or i==(n-1) or j==(n-1) or (i+j+1)%k==0:
# print('*', end='')
# else:
# print(' ', end='')
# print()
#(i+j+1)%k==0
# n=int(input())
# for i in range(n-1,-1,-1):
# for j in range(i+1):
# #(0~1),(0~2),
# print('*',sep='',end='')
# print()
# n=int(input())
# for i in range(n):
# for j in range(i):
# print(' ',end='')
# #(1,0)(2,0)(2,1)
#
# #공백 출력
# for j in range(n - i):
# # (0~1):1번 반복//n번 반복->1번 반복
# print('*', sep='', end='')
# print()
#i=0축일때 3번 반복, i=1축일때 2번 반복하는데,
# (0,0),(0,1),(0,2)/(1,1),(1,2)/(2,2)
# n=int(input())
# for i in range(n):
# if
# (0,0)(1,0)(1,1)(2,0)(2,1)(2,2)
# #tkarkrgud+wlrtjs+tkarkrgud..?
#for문 2개ㅜㅜ
# n=int(input())
# k=0
# for i in range(2*n-1):
# if i < n:
# k = i + 1
# else:
# k -= 1
# for j in range(k):
# print('*',sep='',end='')
# print()
#n-일때 2n-1줄 짜리 삼각형을 만들고 조건문으로 깎아버리기?nput())# for i in range(n-1,-1,-1):# for j in range(i+1):# #(0~1),(0~2),# print('*',sep='',end='')# print()# n=int(input())# for i in range(n):# for j in range(i):# print(' ',end='')# #(1,0)(2,0)(2,1)## #공백 출력# for j in range(n - i):# # (0~1):1번 반복//n번 반복->1번 반복# print('*', sep='', end='')# print() #i=0축일때 3번 반복, i=1축일때 2번 반복하는데, # (0,0),(0,1),(0,2)/(1,1),(1,2)/(2,2)# n=int(input())# for i in range(n):# if# (0,0)(1,0)(1,1)(2,0)(2,1)(2,2)# #tkarkrgud+wlrtjs+tkarkrgud..?#for문 2개ㅜㅜ# n=int(input())# k=0# for i in range(2*n-1):# if i < n:# k = i + 1# else:# k -= 1# for j in range(k):# print('*',sep='',end='')# print() #n-일때 2n-1줄 짜리 삼각형을 만들고 조건문으로 깎아버리기?
top of page
실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
2024-02-01
2024-02-01
댓글 0개
좋아요
댓글(0)
bottom of page