(第7章筆記)
運行結果:
Wind.play()
Brass.play()
This is a triangle
This is a right triangle
This is a circle
Content()
Destination: China
Content()
Destination: America
I'm a cat
This is a rose
Pshape in class T2
I'm class H
I'm a plant
0
1
2
3
4
運行結果:
Restarting system
Thermostat on night setting
Light is on
Light is off
Greenhouse water is on
Greenhouse water is off
Bing!
Ring bell
Thermostat on day setting
Bing!
Ring bell
Bing!
Ring bell
Bing!
Ring bell
Bing!
Ring bell
Restarting system
Thermostat on night setting
Light is on
Light is off
Greenhouse water is on
Greenhouse water is off
Bing!
Ring bell
Thermostat on day setting