From aeaf8949c972192f6bf1b1a9c81d08180ffe03a8 Mon Sep 17 00:00:00 2001
From: yangjinchao <1275462667@qq.com>
Date: Sat, 26 May 2018 17:10:52 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E5=A4=A9=E4=BD=9C?=
=?UTF-8?q?=E4=B8=9A=E7=AC=AC=E4=B8=80=E9=A2=98=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
".idea/Python\345\237\272\347\241\200\350\257\276.iml" | 2 +-
.idea/misc.xml | 2 +-
.../\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py" | 3 +++
3 files changed, 5 insertions(+), 2 deletions(-)
create mode 100644 "\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
diff --git "a/.idea/Python\345\237\272\347\241\200\350\257\276.iml" "b/.idea/Python\345\237\272\347\241\200\350\257\276.iml"
index e7a5bc3..ce5947e 100644
--- "a/.idea/Python\345\237\272\347\241\200\350\257\276.iml"
+++ "b/.idea/Python\345\237\272\347\241\200\350\257\276.iml"
@@ -4,7 +4,7 @@
-
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 1951d60..cea2b38 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,5 +3,5 @@
-
+
\ No newline at end of file
diff --git "a/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py" "b/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
new file mode 100644
index 0000000..33e6b24
--- /dev/null
+++ "b/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
@@ -0,0 +1,3 @@
+result = 1 + 2
+
+print('计算 1 + 2 的结果为:' + str(result))
\ No newline at end of file
--
Gitee
From 0ef8f5690dd46c8eaada170d3e4cab528b60f1b4 Mon Sep 17 00:00:00 2001
From: yangjinchao <1275462667@qq.com>
Date: Sun, 27 May 2018 09:11:27 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Charpter3/Q1.py" | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git "a/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py" "b/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
index 33e6b24..3620086 100644
--- "a/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
+++ "b/\350\257\276\345\220\216\344\275\234\344\270\232/\347\254\254\344\270\200\345\244\251\344\275\234\344\270\232/\346\235\250\351\207\221\350\266\205/Charpter3/Q1.py"
@@ -1,3 +1,12 @@
+'''1. 在Windows和Linux下创建一个Python_First.py的代码,计算 1 +
+ 2的结果,并且打印到屏幕上。
+ 提示:需要把1+2的结果赋值到一个变量,例如:result。然后把字符串“计算结果为:”和result连接在一起,并打印。
+
+ 作业标准:
+ 1. 提供完整的代码(Windows或者Linux)
+ 2. 提供在Windows或Linux上类似于如下效果的截图
+ '''
+
result = 1 + 2
-print('计算 1 + 2 的结果为:' + str(result))
\ No newline at end of file
+print('计算 1 + 2 的结果为:' + str(result))
--
Gitee