diff --git a/code_study/Baekjoon/python/10988.py b/code_study/Baekjoon/python/10988.py new file mode 100644 index 0000000..36b3fbf --- /dev/null +++ b/code_study/Baekjoon/python/10988.py @@ -0,0 +1,2 @@ +s = input() +print('1' if s==s[::-1] else '0') \ No newline at end of file diff --git a/code_study/Baekjoon/python/1157.py b/code_study/Baekjoon/python/1157.py new file mode 100644 index 0000000..c0d3755 --- /dev/null +++ b/code_study/Baekjoon/python/1157.py @@ -0,0 +1,11 @@ +s = input().upper() +dic = {} + +for ch in s: + dic[ch] = dic.get(ch,0) + 1 + +m = max(dic.values()) + +res = [k for k, v in dic.items() if v==m] + +print(res[0] if len(res)==1 else '?') \ No newline at end of file diff --git a/code_study/Baekjoon/python/2444.py b/code_study/Baekjoon/python/2444.py new file mode 100644 index 0000000..744b88a --- /dev/null +++ b/code_study/Baekjoon/python/2444.py @@ -0,0 +1,5 @@ +n = int(input()) +for i in range(n): + print(' '*(n-i-1)+'*'*(2*i+1)) +for i in range(1,n): + print(' '*i+'*'*(2*n-(2*i+1))) diff --git a/code_study/Baekjoon/python/25083.py b/code_study/Baekjoon/python/25083.py new file mode 100644 index 0000000..e497912 --- /dev/null +++ b/code_study/Baekjoon/python/25083.py @@ -0,0 +1,6 @@ +print(" ,r\'\"7") +print("r`-_ ,\' ,/") +print(" \\. \". L_r\'") +print(" `~\\/") +print(" |") +print(" |") \ No newline at end of file diff --git a/code_study/Baekjoon/python/3003.py b/code_study/Baekjoon/python/3003.py new file mode 100644 index 0000000..ab5c039 --- /dev/null +++ b/code_study/Baekjoon/python/3003.py @@ -0,0 +1,3 @@ +n = list(map(int, input().split())) +m = [1, 1, 2, 2, 2, 8] +print(*list(m[i]-n[i] for i in range(6))) \ No newline at end of file