From 0dbf0cbd43bbef4ba2a63a150eaf1bd96381a9cb Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sat, 5 Oct 2019 14:39:36 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E5=BB=BA=E7=AB=8B=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=BD=9C=E4=B8=9A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../190111088008/1001S02E01_helloworld.txt.txt | 1 + exercises/190111088008/README.md.rtf | 1 + exercises/190111088008/~$ADME.md.rtf | Bin 0 -> 162 bytes 3 files changed, 2 insertions(+) create mode 100644 exercises/190111088008/1001S02E01_helloworld.txt.txt create mode 100644 exercises/190111088008/README.md.rtf create mode 100644 exercises/190111088008/~$ADME.md.rtf diff --git a/exercises/190111088008/1001S02E01_helloworld.txt.txt b/exercises/190111088008/1001S02E01_helloworld.txt.txt new file mode 100644 index 000000000..c026ff612 --- /dev/null +++ b/exercises/190111088008/1001S02E01_helloworld.txt.txt @@ -0,0 +1 @@ +你好,我要开始做作业了 \ No newline at end of file diff --git a/exercises/190111088008/README.md.rtf b/exercises/190111088008/README.md.rtf new file mode 100644 index 000000000..08778d7a8 --- /dev/null +++ b/exercises/190111088008/README.md.rtf @@ -0,0 +1 @@ +{\rtf1} \ No newline at end of file diff --git a/exercises/190111088008/~$ADME.md.rtf b/exercises/190111088008/~$ADME.md.rtf new file mode 100644 index 0000000000000000000000000000000000000000..7a4315fc2502356bc709a6587f9a271bb6b0bb93 GIT binary patch literal 162 acmZSCy7clP22ueNLul~vAX0Uaryc-~@dUR3 literal 0 HcmV?d00001 From 8df0515f0b68f71216c9c795f119a252fa7cc145 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sat, 9 Nov 2019 15:49:28 +0800 Subject: [PATCH 2/9] 1 --- exercises/190111088008/~$ADME.md.rtf | Bin 162 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 exercises/190111088008/~$ADME.md.rtf diff --git a/exercises/190111088008/~$ADME.md.rtf b/exercises/190111088008/~$ADME.md.rtf deleted file mode 100644 index 7a4315fc2502356bc709a6587f9a271bb6b0bb93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 162 acmZSCy7clP22ueNLul~vAX0Uaryc-~@dUR3 From 6af9d26fee921c49d8d4c8aaae6e099c846e02da Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 10 Nov 2019 09:47:00 +0800 Subject: [PATCH 3/9] 123x 123x --- exercises/1901100361/123x.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 exercises/1901100361/123x.py diff --git a/exercises/1901100361/123x.py b/exercises/1901100361/123x.py new file mode 100644 index 000000000..f63d4764f --- /dev/null +++ b/exercises/1901100361/123x.py @@ -0,0 +1,3 @@ +Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> print("Hallo world!") From 22be96c02feaa76d823e36018c77cd9d564c0116 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 10 Nov 2019 09:52:06 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E3=80=901901100361=E3=80=91=E2=BE=83?= =?UTF-8?q?=E5=AD=A6=E8=AE=AD=E7=BB=83=E8=90=A5=E5=AD=A6=E4=B9=A020?= =?UTF-8?q?=E7=BE=A4=20DAY2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hallo world --- exercises/1901100361/1001S02E02_hello_python.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 exercises/1901100361/1001S02E02_hello_python.py diff --git a/exercises/1901100361/1001S02E02_hello_python.py b/exercises/1901100361/1001S02E02_hello_python.py new file mode 100644 index 000000000..63e8fe889 --- /dev/null +++ b/exercises/1901100361/1001S02E02_hello_python.py @@ -0,0 +1,5 @@ +Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> print("Hallo world!") +Hallo world! +>>> print("Hallo world!") From 21881d0802d9c13914b8335e4f8b97cd692a2335 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 10 Nov 2019 10:42:38 +0800 Subject: [PATCH 5/9] =?UTF-8?q?=E3=80=901901100361=E3=80=91=E8=87=AA?= =?UTF-8?q?=E5=AD=A6=E8=AE=AD=E7=BB=83=E8=90=A5=E5=AD=A6=E4=B9=A020?= =?UTF-8?q?=E7=BE=A4day1=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xueix --- exercises/1901100361/1001S02E01_helloworld.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 exercises/1901100361/1001S02E01_helloworld.txt diff --git a/exercises/1901100361/1001S02E01_helloworld.txt b/exercises/1901100361/1001S02E01_helloworld.txt new file mode 100644 index 000000000..2344d92ef --- /dev/null +++ b/exercises/1901100361/1001S02E01_helloworld.txt @@ -0,0 +1 @@ +你好,今天是学习的好日子 \ No newline at end of file From 867e3b90bfe3911e1ea66451834c2b518a98f629 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 10 Nov 2019 10:43:28 +0800 Subject: [PATCH 6/9] README.md xuexiganshou --- exercises/1901100361/README.md.rtf | 1 + 1 file changed, 1 insertion(+) create mode 100644 exercises/1901100361/README.md.rtf diff --git a/exercises/1901100361/README.md.rtf b/exercises/1901100361/README.md.rtf new file mode 100644 index 000000000..08778d7a8 --- /dev/null +++ b/exercises/1901100361/README.md.rtf @@ -0,0 +1 @@ +{\rtf1} \ No newline at end of file From f3e8825472fa998e1c1ac5ae9293057fe2fdaa30 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sat, 16 Nov 2019 10:25:44 +0800 Subject: [PATCH 7/9] 1001S02E03_calculator.py calculator --- exercises/1901100361/1001S02E03_calculator.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 exercises/1901100361/1001S02E03_calculator.py diff --git a/exercises/1901100361/1001S02E03_calculator.py b/exercises/1901100361/1001S02E03_calculator.py new file mode 100644 index 000000000..30b5c9384 --- /dev/null +++ b/exercises/1901100361/1001S02E03_calculator.py @@ -0,0 +1,27 @@ +Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> a=5 +b=3 +#python算术运算符+-*/ + +# +两个对象相加 +c=a+b +print(c) + +# -两个对象相减 +c=a-b +print(c) +c=b-a +print(c) + +# *两个对象相乘 +c=a*b +print(c) + +# %取模(返回除法的余数) +c=a%b +print(c) + +# //取整数(返回商的整数部分) +c=a//b +print(c) \ No newline at end of file From c99e38d3c72f7d0eb8a743a55bbf84468a12ede8 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 17 Nov 2019 17:44:45 +0800 Subject: [PATCH 8/9] 1001s02E04-control-flow.py jiujiubiao --- exercises/1901100361/{123x.py => .py} | 0 .../1901100361/1001S02E04_control_flow.py | 54 +++++++++++++++++++ 2 files changed, 54 insertions(+) rename exercises/1901100361/{123x.py => .py} (100%) create mode 100644 exercises/1901100361/1001S02E04_control_flow.py diff --git a/exercises/1901100361/123x.py b/exercises/1901100361/.py similarity index 100% rename from exercises/1901100361/123x.py rename to exercises/1901100361/.py diff --git a/exercises/1901100361/1001S02E04_control_flow.py b/exercises/1901100361/1001S02E04_control_flow.py new file mode 100644 index 000000000..df31c73c6 --- /dev/null +++ b/exercises/1901100361/1001S02E04_control_flow.py @@ -0,0 +1,54 @@ +Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> for i in range(1, 10): + for j in range(1, i + 1): + print('%d*%d=%d' % (i, j, i * j), end='\t') # tab位 \t + print() # 什么都不打印,但是换行,默认 \n + + +1*1=1 +2*1=2 +2*2=4 +3*1=3 +3*2=6 +3*3=9 +4*1=4 +4*2=8 +4*3=12 +4*4=16 +5*1=5 +5*2=10 +5*3=15 +5*4=20 +5*5=25 +6*1=6 +6*2=12 +6*3=18 +6*4=24 +6*5=30 +6*6=36 +7*1=7 +7*2=14 +7*3=21 +7*4=28 +7*5=35 +7*6=42 +7*7=49 +8*1=8 +8*2=16 +8*3=24 +8*4=32 +8*5=40 +8*6=48 +8*7=56 +8*8=64 +9*1=9 +9*2=18 +9*3=27 +9*4=36 +9*5=45 +9*6=54 +9*7=63 +9*8=72 +9*9=81 +>>> From b1b8db018862ecd9a63201e864453b891bb205b7 Mon Sep 17 00:00:00 2001 From: Sam-hzsam <54503875+Sam-hzsam@users.noreply.github.com> Date: Sun, 17 Nov 2019 17:54:23 +0800 Subject: [PATCH 9/9] 1001s02E04_contral_flow.py jiujiubiao --- exercises/1901100361/1001S02E04_contral_flow.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 exercises/1901100361/1001S02E04_contral_flow.py diff --git a/exercises/1901100361/1001S02E04_contral_flow.py b/exercises/1901100361/1001S02E04_contral_flow.py new file mode 100644 index 000000000..9958140e0 --- /dev/null +++ b/exercises/1901100361/1001S02E04_contral_flow.py @@ -0,0 +1,12 @@ +Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> i=1 +>>> while i<=9: + j=1 + while j<=i: + mut =j*i + print("%d*%d=%d"%(j,i,mut), end=" ") + j +=1 + print("") + i+=1 + print("\r")