a = 2
b = 3
if a>b:
print('hello')
print('ok')
結果為:
2
3
hello
ok V
a = 2
b = 3
if a>b:
print('hello')
else:
print('world')