
Python 入門指南 5.0
exercise0902.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # 建立串列 a = [1, "你好", []] # 判斷元素是否存在 if [] in a: print("空串列存在") else: print("空串列不存在") # 檔名: exercise0902.py # 說明:《Python入門指南》的練習 # 網站: http://kaiching.org # 作者: 張凱慶 # 時間: 2023 年 8 月 |
