전체 글82 현대_Softeer_level2_비밀 메뉴_파이썬 문제 링크 파이썬 1 2 3 4 5 6 7 first = input() second = str(input()) third = str(input()) if len(third.split(second))>1: print('secret') else: print('normal') cs Be positive! Be rich! Live your life! 2023. 1. 17. 현대_Softeer_level2_지도 자동 구축_파이썬 문제 링크 파이썬 1 2 3 4 5 6 how_many = int(input()) now = 2 for i in range(1,how_many+1): now = ((now*2)-1) print((now)**2) cs Be positive! Be rich! Live your life! 2023. 1. 17. 현대_Softeer_level2_장애물 인식 프로그램_파이썬 문제 링크 파이썬 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 def sensor(row,col, tf_map,obs_size): if row0: if tf_map[row-1][col] != True: tf_map[row-1][col] = True if whole_map[row-1][col]!=0: obs_size+=1 obs_size,tf_map = sensor(row-1, col, tf_map, obs_size) if col0: if tf_map[row][col-1] != True: tf_m.. 2023. 1. 17. 현대_Softeer_level2_8단 변속기_파이썬 문제 링크 파이썬 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 def asc_test(line): for i in range(1,9): if i != line[i-1]: print('mixed') return print('ascending') def dsc_test(line): for i in range(8,0,-1): if i != line[8-i]: print('mixed') return print('descending') line = list(map(int,input().split())) if line[0] == 1: asc_test(line) elif line[0] == 8: dsc_test(line) else: print('mixed') .. 2023. 1. 17. 이전 1 ··· 6 7 8 9 10 11 12 ··· 21 다음