Skip to content

Commit 45e900e

Browse files
committed
python
1 parent 4e5d8ed commit 45e900e

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

PY00000 - Welcome to python.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
print('Welcome to python.')
2+
3+
4+
5+
6+
7+
8+

PY01000 - HELLO.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name = input()
2+
print('Hello ' + name + '!' )
3+
4+
5+
6+
7+
8+
9+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
number = int(input())
2+
if number%2 == 0:
3+
print("CHAN")
4+
else :
5+
print("LE")

PY01002 - PHÉP CỘNG.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
s = input().split()
2+
if int(s[0]) + int(s[2]) == int(s[4]):
3+
print("YES")
4+
else :
5+
print("NO")

0 commit comments

Comments
 (0)