Đề thi giữa kì 2 Tin học 10 năm 2025-2026 THPT Xuyên Mộc (TP.HCM) có đáp án - Mã đề 0001

Để có thể sử dụng hàm sqrt(x) trong thư viện math ta phải có câu lệnh nào sau đây?

7/31

Đểcóthểsửdụnghàmsqrt(x)trongthưviệnmathtaphảicócâulệnhnàosauđây?

importsqrt

importsqrtfrommath

frommathimportsqrt

fromsqrtimportmath

Giải thích

Đáp án C