Skip to content

Commit 211f934

Browse files
committed
rebuild project 2018年 05月 16日 星期三 16:58:28 CST
1 parent 9269628 commit 211f934

File tree

8 files changed

+54
-2
lines changed

8 files changed

+54
-2
lines changed

package-lock.json

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"express": "^4.16.2",
1414
"nodemon": "^1.13.3",
1515
"pug": "^2.0.0-rc.4",
16-
"sweetalert2": "^7.10.0"
16+
"sweetalert2": "^7.10.0",
17+
"wpa-wifi": "^0.4.4"
1718
}
1819
}

python/Raspberry-Pi-Gas-Sensor-MQ

Lines changed: 0 additions & 1 deletion
This file was deleted.

python/pratice/bmi.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- coding: utf-8 -*-
2+
import math
3+
height = 1.75
4+
weight = 70
5+
bmi = weight/(math.pow(height,2))
6+
if(bmi<18.5):
7+
print('guoqing')
8+
elif(bmi<25):
9+
print('normal')
10+

python/pratice/for.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sum = 0
2+
for i in range(101):
3+
sum=i+sum
4+
print(sum)

python/pratice/for2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
L = ['Bart', 'Lisa', 'Adam']
2+
for i in L:
3+
print(i)

python/pratice/qishu.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
n = 1
2+
sum = 0
3+
while n<100:
4+
sum=n+sum
5+
n+=2
6+
print(sum)

raspi/.wifi_scan.sh.swp

12 KB
Binary file not shown.

0 commit comments

Comments
 (0)