
Python教學(2) if for while
Presentation
•
Computers
•
11th Grade
•
Hard
桂初 鄭
Used 3+ times
FREE Resource
18 Slides • 8 Questions
1
2
3
Python supports the usual logical conditions from mathematics:
Equals: a == b
Not Equals: a != b
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b
4
if
if...else
if...elif...else
5
6
7
8
9
Multiple Choice
圖中的程式能否正確執行?
可正常執行
無法執行
10
Multiple Choice
圖中的程式能否正確執行?
可正常執行
無法執行,
因缺少了標點符號
無法執行,
因if 條件句缺少了縮排
11
Multiple Choice
執行圖中的程式結果為何?
印出A
印出B
沒有印出任何結果
12
while 條件
執行程式
13
14
1
2
3
15
1
2
4
5
6
16
Fill in the Blanks
In the loop, when i is 3, jump directly to the next iteration.
Type answer...
17
Fill in the Blanks
Print a message once the condition is false.
18
19
20
21
22
23
Multiple Choice
執行圖中的程式結果為何?
Exit the loop when x is "cherry"
Only print "apple"
Print "apple" and "banana"
Print all elements
24
Multiple Choice
執行圖中的程式結果為何?
Exit the loop when x is "cherry"
Only print "apple"
Print "apple" and "banana"
Print all elements
25
Multiple Choice
執行圖中的程式結果為何?
0
1
2
3
1
2
3
4
2
3
4
5
3
4
5
6
26
Show answer
Auto Play
Slide 1 / 26
SLIDE
Similar Resources on Wayground
23 questions
耶穌是你的主
Presentation
•
KG
17 questions
永訣の朝①
Presentation
•
11th Grade
18 questions
learn how to
Presentation
•
10th Grade
20 questions
烘焙二數學課
Presentation
•
11th Grade
22 questions
N5 Revision
Presentation
•
10th Grade
23 questions
Week 17 - The Pros and Cons of Zoos [ESL]
Presentation
•
11th Grade
23 questions
ESC1-L9work-places
Presentation
•
11th Grade
17 questions
卷三﹕聆聽與綜合能力
Presentation
•
11th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade