We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit ada2b29Copy full SHA for ada2b29
Check_Odd_Even.py
@@ -0,0 +1,10 @@
1
+# -------------------------------------
2
+# create by: Nguyen Tien Dung -
3
+# Date: 10:11 PM 30/8/2021 -
4
+# ------------------------------------
5
+
6
+numbe = int(input())
7
+if numbe % 2 == 0:
8
+ print("CHAN")
9
+else :
10
+ print("LE")
Decode.py
@@ -0,0 +1,17 @@
+# Date: 11:23 PM 30/8/2021 -
+#hehelo bebe
+T = int(input())
+while T>0:
+ str = input()
+ for index in range(len(str)):
+ if index % 2 == 1:
11
+ k = int(str[index])
12
+ # print(str[index])
13
+ while k > 0:
14
+ print(str[index-1],end="")
15
+ k = k-1
16
+ T = T-1
17
+ print("\n")
0 commit comments