```python
# 条件判断语句
a = 5
if a > 0:
print("a是正数")
else:
print("a是负数或0")
# 循环语句
i = 0
while i < 5:
print(i)
i += 1
# 遍历列表
words = ["Hello", "World", "!"]
for word in words:
print(word)
```python
# 条件判断语句
a = 5
if a > 0:
print("a是正数")
else:
print("a是负数或0")
# 循环语句
i = 0
while i < 5:
print(i)
i += 1
# 遍历列表
words = ["Hello", "World", "!"]
for word in words:
print(word)