44. Python 語言中,可以使用 assert 進行斷言測試,請問附圖陳述句的測 試效果為何?
assert one==two,three
(A) 當 one 與 two 不相等或 one 與 three 不相等時引發錯誤
(B) 當 one 與 two 相等且 one 與 three 相等時引發錯誤
(C) 當 one 與 two 不相等時,引發錯誤,顯示 three 的內容
(D) 當 one 與 two 相等時,引發錯誤,顯示 three 的內容
詳解 (共 1 筆)
未解鎖
題目解析 本題主要考察的是 Pytho...