Skip to content

Commit

Permalink
python
Browse files Browse the repository at this point in the history
  • Loading branch information
NEETNETNET committed Jun 23, 2023
1 parent 4e5d8ed commit 45e900e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions PY00000 - Welcome to python.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
print('Welcome to python.')







9 changes: 9 additions & 0 deletions PY01000 - HELLO.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name = input()
print('Hello ' + name + '!' )







5 changes: 5 additions & 0 deletions PY01001 - KIỂM TRA CHẴN LẺ.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
number = int(input())
if number%2 == 0:
print("CHAN")
else :
print("LE")
5 changes: 5 additions & 0 deletions PY01002 - PHÉP CỘNG.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
s = input().split()
if int(s[0]) + int(s[2]) == int(s[4]):
print("YES")
else :
print("NO")

0 comments on commit 45e900e

Please sign in to comment.